Class: Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueContract
- Inherits:
-
Resource
- Object
- Resource
- Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueContract
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb
Overview
Issue Contract details.
Instance Attribute Summary collapse
-
#api_id ⇒ String
created for.
-
#created_date ⇒ DateTime
Date and time when the issue was created.
-
#description ⇒ String
Text describing the issue.
-
#state ⇒ State
‘proposed’, ‘open’, ‘removed’, ‘resolved’, ‘closed’.
-
#title ⇒ String
The issue title.
-
#user_id ⇒ String
A resource identifier for the user created the issue.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IssueContract class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#api_id ⇒ String
created for.
24 25 26 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb', line 24 def api_id @api_id end |
#created_date ⇒ DateTime
Returns Date and time when the issue was created.
16 17 18 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb', line 16 def created_date @created_date end |
#description ⇒ String
Returns Text describing the issue.
30 31 32 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb', line 30 def description @description end |
#state ⇒ State
‘proposed’, ‘open’, ‘removed’, ‘resolved’, ‘closed’
20 21 22 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb', line 20 def state @state end |
#title ⇒ String
Returns The issue title.
27 28 29 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb', line 27 def title @title end |
#user_id ⇒ String
Returns A resource identifier for the user created the issue.
33 34 35 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb', line 33 def user_id @user_id end |
Class Method Details
.mapper ⇒ Object
Mapper for IssueContract class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IssueContract', type: { name: 'Composite', class_name: 'IssueContract', 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' } }, created_date: { client_side_validation: true, required: false, serialized_name: 'properties.createdDate', type: { name: 'DateTime' } }, state: { client_side_validation: true, required: false, serialized_name: 'properties.state', type: { name: 'String' } }, api_id: { client_side_validation: true, required: false, serialized_name: 'properties.apiId', type: { name: 'String' } }, title: { client_side_validation: true, required: true, serialized_name: 'properties.title', type: { name: 'String' } }, description: { client_side_validation: true, required: true, serialized_name: 'properties.description', type: { name: 'String' } }, user_id: { client_side_validation: true, required: true, serialized_name: 'properties.userId', type: { name: 'String' } } } } } end |