azure_mgmt_container_instance 0.17.6 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2020-11-01/generated/azure_mgmt_container_instance.rb +92 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/container_groups.rb +1404 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +145 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/containers.rb +375 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/location.rb +552 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +84 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/cached_images.rb +57 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/cached_images_list_result.rb +98 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/capabilities.rb +108 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/capabilities_capabilities.rb +71 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/capabilities_list_result.rb +98 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container.rb +192 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_attach_response.rb +59 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec.rb +54 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +57 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group.rb +314 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb +47 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_identity.rb +102 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +99 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb +46 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +69 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb +17 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_sku.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_http_get.rb +80 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_port.rb +58 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_probe.rb +114 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +95 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_state.rb +99 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/dns_configuration.rb +77 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/encryption_properties.rb +68 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +68 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/event.rb +107 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +72 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/gpu_resource.rb +58 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/gpu_sku.rb +17 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/http_headers.rb +57 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +69 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/init_container_definition.rb +133 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/init_container_properties_definition_instance_view.rb +96 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/ip_address.rb +102 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/log_analytics.rb +108 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/logs.rb +46 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operation.rb +81 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operation_display.rb +79 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +99 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/port.rb +58 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource.rb +110 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_identity_type.rb +18 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +69 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +69 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +61 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/scheme.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/usage.rb +84 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +56 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/usage_name.rb +59 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/volume.rb +100 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +70 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/module_definition.rb +9 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/operations.rb +219 -0
- data/lib/azure_mgmt_container_instance.rb +6 -5
- data/lib/profiles/latest/modules/containerinstance_profile_module.rb +149 -141
- data/lib/version.rb +1 -1
- metadata +71 -3
@@ -0,0 +1,68 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerInstance::Mgmt::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The container group encryption properties.
|
10
|
+
#
|
11
|
+
class EncryptionProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The keyvault base url.
|
16
|
+
attr_accessor :vault_base_url
|
17
|
+
|
18
|
+
# @return [String] The encryption key name.
|
19
|
+
attr_accessor :key_name
|
20
|
+
|
21
|
+
# @return [String] The encryption key version.
|
22
|
+
attr_accessor :key_version
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for EncryptionProperties class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'EncryptionProperties',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'EncryptionProperties',
|
37
|
+
model_properties: {
|
38
|
+
vault_base_url: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: true,
|
41
|
+
serialized_name: 'vaultBaseUrl',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
key_name: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: true,
|
49
|
+
serialized_name: 'keyName',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
key_version: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: true,
|
57
|
+
serialized_name: 'keyVersion',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerInstance::Mgmt::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The environment variable to set within the container instance.
|
10
|
+
#
|
11
|
+
class EnvironmentVariable
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the environment variable.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] The value of the environment variable.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
# @return [String] The value of the secure environment variable.
|
22
|
+
attr_accessor :secure_value
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for EnvironmentVariable class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'EnvironmentVariable',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'EnvironmentVariable',
|
37
|
+
model_properties: {
|
38
|
+
name: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: true,
|
41
|
+
serialized_name: 'name',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
value: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'value',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
secure_value: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'secureValue',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,107 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerInstance::Mgmt::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A container group or container instance event.
|
10
|
+
#
|
11
|
+
class Event
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] The count of the event.
|
16
|
+
attr_accessor :count
|
17
|
+
|
18
|
+
# @return [DateTime] The date-time of the earliest logged event.
|
19
|
+
attr_accessor :first_timestamp
|
20
|
+
|
21
|
+
# @return [DateTime] The date-time of the latest logged event.
|
22
|
+
attr_accessor :last_timestamp
|
23
|
+
|
24
|
+
# @return [String] The event name.
|
25
|
+
attr_accessor :name
|
26
|
+
|
27
|
+
# @return [String] The event message.
|
28
|
+
attr_accessor :message
|
29
|
+
|
30
|
+
# @return [String] The event type.
|
31
|
+
attr_accessor :type
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for Event class as Ruby Hash.
|
36
|
+
# This will be used for serialization/deserialization.
|
37
|
+
#
|
38
|
+
def self.mapper()
|
39
|
+
{
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'Event',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'Event',
|
46
|
+
model_properties: {
|
47
|
+
count: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'count',
|
52
|
+
type: {
|
53
|
+
name: 'Number'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
first_timestamp: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'firstTimestamp',
|
61
|
+
type: {
|
62
|
+
name: 'DateTime'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
last_timestamp: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'lastTimestamp',
|
70
|
+
type: {
|
71
|
+
name: 'DateTime'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
name: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
read_only: true,
|
78
|
+
serialized_name: 'name',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
message: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'message',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
type: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
read_only: true,
|
96
|
+
serialized_name: 'type',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerInstance::Mgmt::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Represents a volume that is populated with the contents of a git
|
10
|
+
# repository
|
11
|
+
#
|
12
|
+
class GitRepoVolume
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Target directory name. Must not contain or start with
|
17
|
+
# '..'. If '.' is supplied, the volume directory will be the git
|
18
|
+
# repository. Otherwise, if specified, the volume will contain the git
|
19
|
+
# repository in the subdirectory with the given name.
|
20
|
+
attr_accessor :directory
|
21
|
+
|
22
|
+
# @return [String] Repository URL
|
23
|
+
attr_accessor :repository
|
24
|
+
|
25
|
+
# @return [String] Commit hash for the specified revision.
|
26
|
+
attr_accessor :revision
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for GitRepoVolume class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'GitRepoVolume',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'GitRepoVolume',
|
41
|
+
model_properties: {
|
42
|
+
directory: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'directory',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
repository: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: true,
|
53
|
+
serialized_name: 'repository',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
revision: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'revision',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerInstance::Mgmt::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The GPU resource.
|
10
|
+
#
|
11
|
+
class GpuResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] The count of the GPU resource.
|
16
|
+
attr_accessor :count
|
17
|
+
|
18
|
+
# @return [GpuSku] The SKU of the GPU resource. Possible values include:
|
19
|
+
# 'K80', 'P100', 'V100'
|
20
|
+
attr_accessor :sku
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for GpuResource class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'GpuResource',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'GpuResource',
|
35
|
+
model_properties: {
|
36
|
+
count: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: true,
|
39
|
+
serialized_name: 'count',
|
40
|
+
type: {
|
41
|
+
name: 'Number'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
sku: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: true,
|
47
|
+
serialized_name: 'sku',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerInstance::Mgmt::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for GpuSku
|
10
|
+
#
|
11
|
+
module GpuSku
|
12
|
+
K80 = "K80"
|
13
|
+
P100 = "P100"
|
14
|
+
V100 = "V100"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerInstance::Mgmt::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The HTTP headers.
|
10
|
+
#
|
11
|
+
class HttpHeaders
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The header name.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] The header value.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for HttpHeaders class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'HttpHeaders',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'HttpHeaders',
|
34
|
+
model_properties: {
|
35
|
+
name: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'name',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
value: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'value',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|