Class: Azure::ApiManagement::Mgmt::V2017_03_01::Models::RequestReportRecordContract

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb

Overview

Request Report data.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#api_idString

Returns API identifier path. /apis/apiId.

Returns:

  • (String)

    API identifier path. /apis/apiId



16
17
18
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 16

def api_id
  @api_id
end

#api_regionString

request is located.

Returns:

  • (String)

    Azure region where the gateway that processed this



67
68
69
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 67

def api_region
  @api_region
end

#api_timeFloat

Returns The total time it took to process this request.

Returns:

  • (Float)

    The total time it took to process this request.



59
60
61
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 59

def api_time
  @api_time
end

#backend_response_codeString

result of forwarding this request to the backend.

Returns:

  • (String)

    The HTTP status code received by the gateway as a



39
40
41
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 39

def backend_response_code
  @backend_response_code
end

#cacheString

the response. If the value is none, the cache was not used. If the value is hit, cached response was returned. If the value is miss, the cache was used but lookup resulted in a miss and request was fulfilled by the backend.

Returns:

  • (String)

    Specifies if response cache was involved in generating



56
57
58
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 56

def cache
  @cache
end

#ip_addressString

Returns The client IP address associated with this request.

Returns:

  • (String)

    The client IP address associated with this request.



35
36
37
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 35

def ip_address
  @ip_address
end

#methodString

Returns The HTTP method associated with this request..

Returns:

  • (String)

    The HTTP method associated with this request..



29
30
31
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 29

def method
  @method
end

#operation_idString

/apis/apiId/operations/operationId

Returns:

  • (String)

    Operation identifier path.



20
21
22
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 20

def operation_id
  @operation_id
end

#product_idString

Returns Product identifier path. /products/productId.

Returns:

  • (String)

    Product identifier path. /products/productId



23
24
25
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 23

def product_id
  @product_id
end

#request_idString

Returns Request Identifier.

Returns:

  • (String)

    Request Identifier.



74
75
76
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 74

def request_id
  @request_id
end

#request_sizeInteger

Returns The size of this request..

Returns:

  • (Integer)

    The size of this request..



77
78
79
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 77

def request_size
  @request_size
end

#response_codeInteger

Returns The HTTP status code returned by the gateway.

Returns:

  • (Integer)

    The HTTP status code returned by the gateway.



42
43
44
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 42

def response_code
  @response_code
end

#response_sizeInteger

Returns The size of the response returned by the gateway.

Returns:

  • (Integer)

    The size of the response returned by the gateway.



45
46
47
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 45

def response_size
  @response_size
end

#service_timeFloat

and get the response back.

Returns:

  • (Float)

    he time it took to forward this request to the backend



63
64
65
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 63

def service_time
  @service_time
end

#subscription_idString

/subscriptions/subscriptionId

Returns:

  • (String)

    Subscription identifier path.



71
72
73
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 71

def subscription_id
  @subscription_id
end

#timestampDateTime

the gateway in ISO 8601 format.

Returns:

  • (DateTime)

    The date and time when this request was received by



49
50
51
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 49

def timestamp
  @timestamp
end

#urlString

Returns The full URL associated with this request.

Returns:

  • (String)

    The full URL associated with this request.



32
33
34
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 32

def url
  @url
end

#user_idString

Returns User identifier path. /users/userId.

Returns:

  • (String)

    User identifier path. /users/userId



26
27
28
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 26

def user_id
  @user_id
end

Class Method Details

.mapperObject

Mapper for RequestReportRecordContract class as Ruby Hash. This will be used for serialization/deserialization.



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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 84

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RequestReportRecordContract',
    type: {
      name: 'Composite',
      class_name: 'RequestReportRecordContract',
      model_properties: {
        api_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'apiId',
          type: {
            name: 'String'
          }
        },
        operation_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'operationId',
          type: {
            name: 'String'
          }
        },
        product_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'productId',
          type: {
            name: 'String'
          }
        },
        user_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'userId',
          type: {
            name: 'String'
          }
        },
        method: {
          client_side_validation: true,
          required: false,
          serialized_name: 'method',
          type: {
            name: 'String'
          }
        },
        url: {
          client_side_validation: true,
          required: false,
          serialized_name: 'url',
          type: {
            name: 'String'
          }
        },
        ip_address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ipAddress',
          type: {
            name: 'String'
          }
        },
        backend_response_code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'backendResponseCode',
          type: {
            name: 'String'
          }
        },
        response_code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'responseCode',
          type: {
            name: 'Number'
          }
        },
        response_size: {
          client_side_validation: true,
          required: false,
          serialized_name: 'responseSize',
          type: {
            name: 'Number'
          }
        },
        timestamp: {
          client_side_validation: true,
          required: false,
          serialized_name: 'timestamp',
          type: {
            name: 'DateTime'
          }
        },
        cache: {
          client_side_validation: true,
          required: false,
          serialized_name: 'cache',
          type: {
            name: 'String'
          }
        },
        api_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'apiTime',
          type: {
            name: 'Double'
          }
        },
        service_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serviceTime',
          type: {
            name: 'Double'
          }
        },
        api_region: {
          client_side_validation: true,
          required: false,
          serialized_name: 'apiRegion',
          type: {
            name: 'String'
          }
        },
        subscription_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'subscriptionId',
          type: {
            name: 'String'
          }
        },
        request_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'requestId',
          type: {
            name: 'String'
          }
        },
        request_size: {
          client_side_validation: true,
          required: false,
          serialized_name: 'requestSize',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end