Class: Azure::ApiManagement::Mgmt::V2017_03_01::Models::RequestReportRecordContract
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2017_03_01::Models::RequestReportRecordContract
- 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
-
#api_id ⇒ String
API identifier path.
-
#api_region ⇒ String
request is located.
-
#api_time ⇒ Float
The total time it took to process this request.
-
#backend_response_code ⇒ String
result of forwarding this request to the backend.
-
#cache ⇒ String
the response.
-
#ip_address ⇒ String
The client IP address associated with this request.
-
#method ⇒ String
The HTTP method associated with this request..
-
#operation_id ⇒ String
/apis/apiId/operations/operationId.
-
#product_id ⇒ String
Product identifier path.
-
#request_id ⇒ String
Request Identifier.
-
#request_size ⇒ Integer
The size of this request..
-
#response_code ⇒ Integer
The HTTP status code returned by the gateway.
-
#response_size ⇒ Integer
The size of the response returned by the gateway.
-
#service_time ⇒ Float
and get the response back.
-
#subscription_id ⇒ String
/subscriptions/subscriptionId.
-
#timestamp ⇒ DateTime
the gateway in ISO 8601 format.
-
#url ⇒ String
The full URL associated with this request.
-
#user_id ⇒ String
User identifier path.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RequestReportRecordContract class as Ruby Hash.
Instance Attribute Details
#api_id ⇒ String
Returns 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_region ⇒ String
request is located.
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_time ⇒ Float
Returns 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_code ⇒ String
result of forwarding this request to the backend.
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 |
#cache ⇒ String
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.
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_address ⇒ String
Returns 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 |
#method ⇒ String
Returns 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_id ⇒ String
/apis/apiId/operations/operationId
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_id ⇒ String
Returns 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_id ⇒ String
Returns 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_size ⇒ Integer
Returns 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_code ⇒ Integer
Returns 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_size ⇒ Integer
Returns 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_time ⇒ Float
and get the response back.
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_id ⇒ String
/subscriptions/subscriptionId
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 |
#timestamp ⇒ DateTime
the gateway in ISO 8601 format.
49 50 51 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb', line 49 def @timestamp end |
#url ⇒ String
Returns 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_id ⇒ String
Returns 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
.mapper ⇒ Object
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 |