Class: Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-10-01/generated/azure_mgmt_container_registry/models/request.rb
Overview
The request that generated the event.
Instance Attribute Summary collapse
-
#addr ⇒ String
connection that initiated the event.
-
#host ⇒ String
instance, as specified by the http host header on incoming requests.
-
#id ⇒ String
The ID of the request that initiated the event.
-
#method ⇒ String
The request method that generated the event.
-
#useragent ⇒ String
The user agent header of the request.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Request class as Ruby Hash.
Instance Attribute Details
#addr ⇒ String
connection that initiated the event. This is the RemoteAddr from the standard http request.
21 22 23 |
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/request.rb', line 21 def addr @addr end |
#host ⇒ String
instance, as specified by the http host header on incoming requests.
25 26 27 |
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/request.rb', line 25 def host @host end |
#id ⇒ String
Returns The ID of the request that initiated the event.
16 17 18 |
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/request.rb', line 16 def id @id end |
#method ⇒ String
Returns The request method that generated the event.
28 29 30 |
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/request.rb', line 28 def method @method end |
#useragent ⇒ String
Returns The user agent header of the request.
31 32 33 |
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/request.rb', line 31 def useragent @useragent end |
Class Method Details
.mapper ⇒ Object
Mapper for Request class as Ruby Hash. This will be used for serialization/deserialization.
38 39 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 |
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/request.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Request', type: { name: 'Composite', class_name: 'Request', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, addr: { client_side_validation: true, required: false, serialized_name: 'addr', type: { name: 'String' } }, host: { client_side_validation: true, required: false, serialized_name: 'host', type: { name: 'String' } }, method: { client_side_validation: true, required: false, serialized_name: 'method', type: { name: 'String' } }, useragent: { client_side_validation: true, required: false, serialized_name: 'useragent', type: { name: 'String' } } } } } end |