Class: Azure::Appconfiguration::Mgmt::V2020_06_01::Models::KeyValue
- Inherits:
-
Object
- Object
- Azure::Appconfiguration::Mgmt::V2020_06_01::Models::KeyValue
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/key_value.rb
Overview
The result of a request to retrieve a key-value from the specified configuration store.
Instance Attribute Summary collapse
-
#content_type ⇒ String
Providing a proper content-type can enable transformations of values when they are retrieved by applications.
-
#e_tag ⇒ String
configuration store.
-
#key ⇒ String
The key is used in unison with the label to uniquely identify a key-value.
-
#label ⇒ String
The label is used in unison with the key to uniquely identify a key-value.
-
#last_modified ⇒ DateTime
the given key-value.
-
#locked ⇒ Boolean
A locked key-value may not be modified until it is unlocked.
-
#tags ⇒ Hash{String => String}
identify what a key-value may be applicable for.
-
#value ⇒ String
The value of the key-value.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for KeyValue class as Ruby Hash.
Instance Attribute Details
#content_type ⇒ String
Providing a proper content-type can enable transformations of values when they are retrieved by applications.
32 33 34 |
# File 'lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/key_value.rb', line 32 def content_type @content_type end |
#e_tag ⇒ String
configuration store.
36 37 38 |
# File 'lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/key_value.rb', line 36 def e_tag @e_tag end |
#key ⇒ String
The key is used in unison with the label to uniquely identify a key-value.
19 20 21 |
# File 'lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/key_value.rb', line 19 def key @key end |
#label ⇒ String
The label is used in unison with the key to uniquely identify a key-value.
24 25 26 |
# File 'lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/key_value.rb', line 24 def label @label end |
#last_modified ⇒ DateTime
the given key-value.
40 41 42 |
# File 'lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/key_value.rb', line 40 def last_modified @last_modified end |
#locked ⇒ Boolean
A locked key-value may not be modified until it is unlocked.
44 45 46 |
# File 'lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/key_value.rb', line 44 def locked @locked end |
#tags ⇒ Hash{String => String}
identify what a key-value may be applicable for.
48 49 50 |
# File 'lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/key_value.rb', line 48 def @tags end |
#value ⇒ String
Returns The value of the key-value.
27 28 29 |
# File 'lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/key_value.rb', line 27 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for KeyValue class as Ruby Hash. This will be used for serialization/deserialization.
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 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
# File 'lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/key_value.rb', line 55 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'KeyValue', type: { name: 'Composite', class_name: 'KeyValue', model_properties: { key: { client_side_validation: true, required: false, read_only: true, serialized_name: 'key', type: { name: 'String' } }, label: { client_side_validation: true, required: false, read_only: true, serialized_name: 'label', type: { name: 'String' } }, value: { client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'String' } }, content_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'contentType', type: { name: 'String' } }, e_tag: { client_side_validation: true, required: false, read_only: true, serialized_name: 'eTag', type: { name: 'String' } }, last_modified: { client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', type: { name: 'DateTime' } }, locked: { client_side_validation: true, required: false, read_only: true, serialized_name: 'locked', type: { name: 'Boolean' } }, tags: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |