Class MetadataRoutesApi


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-05-15T14:38:14.328808-03:00[America/Argentina/Buenos_Aires]")
    public class MetadataRoutesApi
    extends java.lang.Object
    • Constructor Detail

      • MetadataRoutesApi

        public MetadataRoutesApi()
      • MetadataRoutesApi

        public MetadataRoutesApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getAccountMetadata

        public MetadataEntriesDTO getAccountMetadata​(java.lang.String accountId,
                                                     java.lang.Integer pageSize,
                                                     java.lang.String id,
                                                     java.lang.String ordering)
                                              throws ApiException
        Get account metadata Returns the account metadata given an account id.
        Parameters:
        accountId - Account public key or address enconded using a 32-character set. (required)
        pageSize - Number of entries to return. (optional, default to 10)
        id - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        Returns:
        MetadataEntriesDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getAccountMetadataWithHttpInfo

        public ApiResponse<MetadataEntriesDTO> getAccountMetadataWithHttpInfo​(java.lang.String accountId,
                                                                              java.lang.Integer pageSize,
                                                                              java.lang.String id,
                                                                              java.lang.String ordering)
                                                                       throws ApiException
        Get account metadata Returns the account metadata given an account id.
        Parameters:
        accountId - Account public key or address enconded using a 32-character set. (required)
        pageSize - Number of entries to return. (optional, default to 10)
        id - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        Returns:
        ApiResponse<MetadataEntriesDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getAccountMetadataByKey

        public MetadataEntriesDTO getAccountMetadataByKey​(java.lang.String accountId,
                                                          java.lang.String key)
                                                   throws ApiException
        Get account metadata Returns the account metadata given an account id and a key.
        Parameters:
        accountId - Account public key or address enconded using a 32-character set. (required)
        key - Metadata key. (required)
        Returns:
        MetadataEntriesDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getAccountMetadataByKeyWithHttpInfo

        public ApiResponse<MetadataEntriesDTO> getAccountMetadataByKeyWithHttpInfo​(java.lang.String accountId,
                                                                                   java.lang.String key)
                                                                            throws ApiException
        Get account metadata Returns the account metadata given an account id and a key.
        Parameters:
        accountId - Account public key or address enconded using a 32-character set. (required)
        key - Metadata key. (required)
        Returns:
        ApiResponse<MetadataEntriesDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getAccountMetadataByKeyAndSender

        public MetadataDTO getAccountMetadataByKeyAndSender​(java.lang.String accountId,
                                                            java.lang.String key,
                                                            java.lang.String publicKey)
                                                     throws ApiException
        Get account metadata Returns the account metadata given an account id, a key, and a sender.
        Parameters:
        accountId - Account public key or address enconded using a 32-character set. (required)
        key - Metadata key. (required)
        publicKey - Account public key. (required)
        Returns:
        MetadataDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getAccountMetadataByKeyAndSenderWithHttpInfo

        public ApiResponse<MetadataDTO> getAccountMetadataByKeyAndSenderWithHttpInfo​(java.lang.String accountId,
                                                                                     java.lang.String key,
                                                                                     java.lang.String publicKey)
                                                                              throws ApiException
        Get account metadata Returns the account metadata given an account id, a key, and a sender.
        Parameters:
        accountId - Account public key or address enconded using a 32-character set. (required)
        key - Metadata key. (required)
        publicKey - Account public key. (required)
        Returns:
        ApiResponse<MetadataDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getMosaicMetadata

        public MetadataEntriesDTO getMosaicMetadata​(java.lang.String mosaicId,
                                                    java.lang.Integer pageSize,
                                                    java.lang.String id,
                                                    java.lang.String ordering)
                                             throws ApiException
        Get mosaic metadata Returns the mosaic metadata given a mosaic id.
        Parameters:
        mosaicId - Mosaic identifier. (required)
        pageSize - Number of entries to return. (optional, default to 10)
        id - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        Returns:
        MetadataEntriesDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getMosaicMetadataWithHttpInfo

        public ApiResponse<MetadataEntriesDTO> getMosaicMetadataWithHttpInfo​(java.lang.String mosaicId,
                                                                             java.lang.Integer pageSize,
                                                                             java.lang.String id,
                                                                             java.lang.String ordering)
                                                                      throws ApiException
        Get mosaic metadata Returns the mosaic metadata given a mosaic id.
        Parameters:
        mosaicId - Mosaic identifier. (required)
        pageSize - Number of entries to return. (optional, default to 10)
        id - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        Returns:
        ApiResponse<MetadataEntriesDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getMosaicMetadataByKey

        public MetadataEntriesDTO getMosaicMetadataByKey​(java.lang.String mosaicId,
                                                         java.lang.String key)
                                                  throws ApiException
        Get mosaic metadata Returns the mosaic metadata given a mosaic id and a key.
        Parameters:
        mosaicId - Mosaic identifier. (required)
        key - Metadata key. (required)
        Returns:
        MetadataEntriesDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getMosaicMetadataByKeyWithHttpInfo

        public ApiResponse<MetadataEntriesDTO> getMosaicMetadataByKeyWithHttpInfo​(java.lang.String mosaicId,
                                                                                  java.lang.String key)
                                                                           throws ApiException
        Get mosaic metadata Returns the mosaic metadata given a mosaic id and a key.
        Parameters:
        mosaicId - Mosaic identifier. (required)
        key - Metadata key. (required)
        Returns:
        ApiResponse<MetadataEntriesDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getMosaicMetadataByKeyAndSender

        public MetadataDTO getMosaicMetadataByKeyAndSender​(java.lang.String mosaicId,
                                                           java.lang.String key,
                                                           java.lang.String publicKey)
                                                    throws ApiException
        Get mosaic metadata Returns the mosaic metadata given a mosaic id, a key, and a sender.
        Parameters:
        mosaicId - Mosaic identifier. (required)
        key - Metadata key. (required)
        publicKey - Account public key. (required)
        Returns:
        MetadataDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getMosaicMetadataByKeyAndSenderWithHttpInfo

        public ApiResponse<MetadataDTO> getMosaicMetadataByKeyAndSenderWithHttpInfo​(java.lang.String mosaicId,
                                                                                    java.lang.String key,
                                                                                    java.lang.String publicKey)
                                                                             throws ApiException
        Get mosaic metadata Returns the mosaic metadata given a mosaic id, a key, and a sender.
        Parameters:
        mosaicId - Mosaic identifier. (required)
        key - Metadata key. (required)
        publicKey - Account public key. (required)
        Returns:
        ApiResponse<MetadataDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getNamespaceMetadata

        public MetadataEntriesDTO getNamespaceMetadata​(java.lang.String namespaceId,
                                                       java.lang.Integer pageSize,
                                                       java.lang.String id,
                                                       java.lang.String ordering)
                                                throws ApiException
        Get namespace metadata Returns the namespace metadata given a namespace id.
        Parameters:
        namespaceId - Namespace identifier. (required)
        pageSize - Number of entries to return. (optional, default to 10)
        id - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        Returns:
        MetadataEntriesDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getNamespaceMetadataWithHttpInfo

        public ApiResponse<MetadataEntriesDTO> getNamespaceMetadataWithHttpInfo​(java.lang.String namespaceId,
                                                                                java.lang.Integer pageSize,
                                                                                java.lang.String id,
                                                                                java.lang.String ordering)
                                                                         throws ApiException
        Get namespace metadata Returns the namespace metadata given a namespace id.
        Parameters:
        namespaceId - Namespace identifier. (required)
        pageSize - Number of entries to return. (optional, default to 10)
        id - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        Returns:
        ApiResponse<MetadataEntriesDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getNamespaceMetadataByKey

        public MetadataEntriesDTO getNamespaceMetadataByKey​(java.lang.String namespaceId,
                                                            java.lang.String key)
                                                     throws ApiException
        Get namespace metadata Returns the namespace metadata given a namespace id and a key.
        Parameters:
        namespaceId - Namespace identifier. (required)
        key - Metadata key. (required)
        Returns:
        MetadataEntriesDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getNamespaceMetadataByKeyWithHttpInfo

        public ApiResponse<MetadataEntriesDTO> getNamespaceMetadataByKeyWithHttpInfo​(java.lang.String namespaceId,
                                                                                     java.lang.String key)
                                                                              throws ApiException
        Get namespace metadata Returns the namespace metadata given a namespace id and a key.
        Parameters:
        namespaceId - Namespace identifier. (required)
        key - Metadata key. (required)
        Returns:
        ApiResponse<MetadataEntriesDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getNamespaceMetadataByKeyAndSender

        public MetadataDTO getNamespaceMetadataByKeyAndSender​(java.lang.String namespaceId,
                                                              java.lang.String key,
                                                              java.lang.String publicKey)
                                                       throws ApiException
        Get namespace metadata Returns the namespace metadata given a namespace id, a key, and a sender.
        Parameters:
        namespaceId - Namespace identifier. (required)
        key - Metadata key. (required)
        publicKey - Account public key. (required)
        Returns:
        MetadataDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -
      • getNamespaceMetadataByKeyAndSenderWithHttpInfo

        public ApiResponse<MetadataDTO> getNamespaceMetadataByKeyAndSenderWithHttpInfo​(java.lang.String namespaceId,
                                                                                       java.lang.String key,
                                                                                       java.lang.String publicKey)
                                                                                throws ApiException
        Get namespace metadata Returns the namespace metadata given a namespace id, a key, and a sender.
        Parameters:
        namespaceId - Namespace identifier. (required)
        key - Metadata key. (required)
        publicKey - Account public key. (required)
        Returns:
        ApiResponse<MetadataDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        404 ResourceNotFound -
        409 InvalidArgument -