Class ApiVersionSetContractProperties


  • public final class ApiVersionSetContractProperties
    extends ApiVersionSetEntityBase
    Properties of an API Version Set.
    • Constructor Detail

      • ApiVersionSetContractProperties

        public ApiVersionSetContractProperties()
    • Method Detail

      • displayName

        public String displayName()
        Get the displayName property: Name of API Version Set.
        Returns:
        the displayName value.
      • withDisplayName

        public ApiVersionSetContractProperties withDisplayName​(String displayName)
        Set the displayName property: Name of API Version Set.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the ApiVersionSetContractProperties object itself.
      • versioningScheme

        public VersioningScheme versioningScheme()
        Get the versioningScheme property: An value that determines where the API Version identifier will be located in a HTTP request.
        Returns:
        the versioningScheme value.
      • withVersioningScheme

        public ApiVersionSetContractProperties withVersioningScheme​(VersioningScheme versioningScheme)
        Set the versioningScheme property: An value that determines where the API Version identifier will be located in a HTTP request.
        Parameters:
        versioningScheme - the versioningScheme value to set.
        Returns:
        the ApiVersionSetContractProperties object itself.
      • withVersionQueryName

        public ApiVersionSetContractProperties withVersionQueryName​(String versionQueryName)
        Set the versionQueryName property: Name of query parameter that indicates the API Version if versioningScheme is set to `query`.
        Overrides:
        withVersionQueryName in class ApiVersionSetEntityBase
        Parameters:
        versionQueryName - the versionQueryName value to set.
        Returns:
        the ApiVersionSetEntityBase object itself.
      • withVersionHeaderName

        public ApiVersionSetContractProperties withVersionHeaderName​(String versionHeaderName)
        Set the versionHeaderName property: Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.
        Overrides:
        withVersionHeaderName in class ApiVersionSetEntityBase
        Parameters:
        versionHeaderName - the versionHeaderName value to set.
        Returns:
        the ApiVersionSetEntityBase object itself.