Class: Azure::ApiManagement::Mgmt::V2017_03_01::Models::ApiRevisionInfoContract
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2017_03_01::Models::ApiRevisionInfoContract
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb
Overview
Object used to create an API Revision or Version based on an existing API Revision
Instance Attribute Summary collapse
-
#api_revision_description ⇒ String
Description of new API Revision.
-
#api_version_name ⇒ String
Version identifier for the new API Version.
-
#api_version_set ⇒ ApiVersionSetContractProperties
Version set details.
-
#source_api_id ⇒ String
revision from.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApiRevisionInfoContract class as Ruby Hash.
Instance Attribute Details
#api_revision_description ⇒ String
Returns Description of new API Revision.
24 25 26 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb', line 24 def api_revision_description @api_revision_description end |
#api_version_name ⇒ String
Returns Version identifier for the new API Version.
21 22 23 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb', line 21 def api_version_name @api_version_name end |
#api_version_set ⇒ ApiVersionSetContractProperties
Returns Version set details.
27 28 29 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb', line 27 def api_version_set @api_version_set end |
#source_api_id ⇒ String
revision from.
18 19 20 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb', line 18 def source_api_id @source_api_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ApiRevisionInfoContract class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApiRevisionInfoContract', type: { name: 'Composite', class_name: 'ApiRevisionInfoContract', model_properties: { source_api_id: { client_side_validation: true, required: false, serialized_name: 'sourceApiId', type: { name: 'String' } }, api_version_name: { client_side_validation: true, required: false, serialized_name: 'apiVersionName', constraints: { MaxLength: 100 }, type: { name: 'String' } }, api_revision_description: { client_side_validation: true, required: false, serialized_name: 'apiRevisionDescription', constraints: { MaxLength: 256 }, type: { name: 'String' } }, api_version_set: { client_side_validation: true, required: false, serialized_name: 'apiVersionSet', type: { name: 'Composite', class_name: 'ApiVersionSetContractProperties' } } } } } end |