Class OperationContractProperties

    • Constructor Detail

      • OperationContractProperties

        public OperationContractProperties()
    • Method Detail

      • displayName

        public String displayName()
        Get the displayName property: Operation Name.
        Returns:
        the displayName value.
      • withDisplayName

        public OperationContractProperties withDisplayName​(String displayName)
        Set the displayName property: Operation Name.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the OperationContractProperties object itself.
      • method

        public String method()
        Get the method property: A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.
        Returns:
        the method value.
      • withMethod

        public OperationContractProperties withMethod​(String method)
        Set the method property: A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.
        Parameters:
        method - the method value to set.
        Returns:
        the OperationContractProperties object itself.
      • urlTemplate

        public String urlTemplate()
        Get the urlTemplate property: Relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}.
        Returns:
        the urlTemplate value.
      • withUrlTemplate

        public OperationContractProperties withUrlTemplate​(String urlTemplate)
        Set the urlTemplate property: Relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}.
        Parameters:
        urlTemplate - the urlTemplate value to set.
        Returns:
        the OperationContractProperties object itself.