Class: Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueContract

Inherits:
Resource
  • Object
show all
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

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#api_idString

created for.

Returns:

  • (String)

    A resource identifier for the API the issue was



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_dateDateTime

Returns Date and time when the issue was created.

Returns:

  • (DateTime)

    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

#descriptionString

Returns Text describing the issue.

Returns:

  • (String)

    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

#stateState

‘proposed’, ‘open’, ‘removed’, ‘resolved’, ‘closed’

Returns:

  • (State)

    Status of the issue. Possible values include:



20
21
22
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb', line 20

def state
  @state
end

#titleString

Returns The issue title.

Returns:

  • (String)

    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_idString

Returns A resource identifier for the user created the issue.

Returns:

  • (String)

    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

.mapperObject

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