Class: Azure::ApiManagement::Mgmt::V2017_03_01::Models::OperationEntityContract
- Inherits:
-
Resource
- Object
- Resource
- Azure::ApiManagement::Mgmt::V2017_03_01::Models::OperationEntityContract
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_entity_contract.rb
Overview
Operation Entity Contract Properties.
Instance Attribute Summary collapse
-
#api_name ⇒ String
Api Name.
-
#api_revision ⇒ String
Api Revision.
-
#api_version ⇒ String
Api Version.
-
#description ⇒ String
Operation Description.
-
#display_name ⇒ String
Operation name.
-
#method ⇒ String
like GET, PUT, POST but not limited by only them.
-
#url_template ⇒ String
for this operation.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OperationEntityContract class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#api_name ⇒ String
Returns Api Name.
19 20 21 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_entity_contract.rb', line 19 def api_name @api_name end |
#api_revision ⇒ String
Returns Api Revision.
22 23 24 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_entity_contract.rb', line 22 def api_revision @api_revision end |
#api_version ⇒ String
Returns Api Version.
25 26 27 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_entity_contract.rb', line 25 def api_version @api_version end |
#description ⇒ String
Returns Operation Description.
28 29 30 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_entity_contract.rb', line 28 def description @description end |
#display_name ⇒ String
Returns Operation name.
16 17 18 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_entity_contract.rb', line 16 def display_name @display_name end |
#method ⇒ String
like GET, PUT, POST but not limited by only them.
32 33 34 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_entity_contract.rb', line 32 def method @method end |
#url_template ⇒ String
for this operation. May include parameters. Example: /customers/cid/orders/oid/?date=date
37 38 39 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_entity_contract.rb', line 37 def url_template @url_template end |
Class Method Details
.mapper ⇒ Object
Mapper for OperationEntityContract class as Ruby Hash. This will be used for serialization/deserialization.
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 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_entity_contract.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OperationEntityContract', type: { name: 'Composite', class_name: 'OperationEntityContract', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, display_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.displayName', type: { name: 'String' } }, api_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.apiName', type: { name: 'String' } }, api_revision: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.apiRevision', type: { name: 'String' } }, api_version: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.apiVersion', type: { name: 'String' } }, description: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.description', type: { name: 'String' } }, method: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.method', type: { name: 'String' } }, url_template: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.urlTemplate', type: { name: 'String' } } } } } end |