azure_mgmt_batch 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-12-01/generated/azure_mgmt_batch.rb +50 -0
  3. data/lib/2015-12-01/generated/azure_mgmt_batch/application_operations.rb +635 -0
  4. data/lib/{generated → 2015-12-01/generated}/azure_mgmt_batch/application_package_operations.rb +4 -4
  5. data/lib/2015-12-01/generated/azure_mgmt_batch/batch_account_operations.rb +1229 -0
  6. data/lib/2015-12-01/generated/azure_mgmt_batch/batch_management_client.rb +142 -0
  7. data/lib/2015-12-01/generated/azure_mgmt_batch/location.rb +115 -0
  8. data/lib/{generated → 2015-12-01/generated}/azure_mgmt_batch/models/account_key_type.rb +1 -1
  9. data/lib/2015-12-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +45 -0
  10. data/lib/2015-12-01/generated/azure_mgmt_batch/models/add_application_parameters.rb +55 -0
  11. data/lib/{generated → 2015-12-01/generated}/azure_mgmt_batch/models/application.rb +1 -1
  12. data/lib/2015-12-01/generated/azure_mgmt_batch/models/application_package.rb +110 -0
  13. data/lib/2015-12-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +45 -0
  14. data/lib/2015-12-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +57 -0
  15. data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account.rb +147 -0
  16. data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +74 -0
  17. data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +54 -0
  18. data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +95 -0
  19. data/lib/{generated → 2015-12-01/generated}/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +1 -1
  20. data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +64 -0
  21. data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +45 -0
  22. data/lib/2015-12-01/generated/azure_mgmt_batch/models/list_applications_result.rb +94 -0
  23. data/lib/{generated → 2015-12-01/generated}/azure_mgmt_batch/models/package_state.rb +1 -1
  24. data/lib/{generated → 2015-12-01/generated}/azure_mgmt_batch/models/provisioning_state.rb +1 -1
  25. data/lib/2015-12-01/generated/azure_mgmt_batch/models/resource.rb +94 -0
  26. data/lib/2015-12-01/generated/azure_mgmt_batch/models/update_application_parameters.rb +66 -0
  27. data/lib/2015-12-01/generated/azure_mgmt_batch/module_definition.rb +9 -0
  28. data/lib/{generated → 2015-12-01/generated}/azure_mgmt_batch/version.rb +2 -2
  29. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch.rb +35 -35
  30. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/application_operations.rb +7 -7
  31. data/lib/2017-05-01/generated/azure_mgmt_batch/application_package_operations.rb +427 -0
  32. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/batch_account_operations.rb +14 -14
  33. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/batch_management_client.rb +3 -3
  34. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/location.rb +4 -4
  35. data/lib/2017-05-01/generated/azure_mgmt_batch/models/account_key_type.rb +16 -0
  36. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/activate_application_package_parameters.rb +1 -1
  37. data/lib/2017-05-01/generated/azure_mgmt_batch/models/application.rb +96 -0
  38. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/application_create_parameters.rb +1 -1
  39. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/application_package.rb +1 -1
  40. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/application_update_parameters.rb +1 -1
  41. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/auto_storage_base_properties.rb +1 -1
  42. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/auto_storage_properties.rb +1 -1
  43. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/batch_account.rb +1 -1
  44. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/batch_account_create_parameters.rb +1 -1
  45. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/batch_account_keys.rb +1 -1
  46. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/batch_account_list_result.rb +1 -1
  47. data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +46 -0
  48. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/batch_account_update_parameters.rb +1 -1
  49. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/batch_location_quota.rb +1 -1
  50. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/check_name_availability_parameters.rb +1 -1
  51. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/check_name_availability_result.rb +1 -1
  52. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/key_vault_reference.rb +1 -1
  53. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/list_applications_result.rb +1 -1
  54. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/name_availability_reason.rb +1 -1
  55. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/operation.rb +1 -1
  56. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/operation_display.rb +1 -1
  57. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/operation_list_result.rb +1 -1
  58. data/lib/2017-05-01/generated/azure_mgmt_batch/models/package_state.rb +17 -0
  59. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/pool_allocation_mode.rb +1 -1
  60. data/lib/2017-05-01/generated/azure_mgmt_batch/models/provisioning_state.rb +20 -0
  61. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/resource.rb +1 -1
  62. data/lib/2017-05-01/generated/azure_mgmt_batch/module_definition.rb +9 -0
  63. data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/operations.rb +3 -3
  64. data/lib/{generated/azure_mgmt_batch/module_definition.rb → 2017-05-01/generated/azure_mgmt_batch/version.rb} +3 -3
  65. data/lib/azure_mgmt_batch.rb +3 -1
  66. data/lib/module_definition.rb +7 -0
  67. data/lib/profiles/common/configurable.rb +73 -0
  68. data/lib/profiles/common/default.rb +68 -0
  69. data/lib/profiles/latest/batch_latest_profile_client.rb +33 -0
  70. data/lib/profiles/latest/batch_module_definition.rb +9 -0
  71. data/lib/profiles/latest/modules/batch_profile_module.rb +158 -0
  72. data/lib/version.rb +7 -0
  73. metadata +72 -38
@@ -0,0 +1,142 @@
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::Batch::Mgmt::V2015_12_01
7
+ #
8
+ # A service client - single point of access to the REST API.
9
+ #
10
+ class BatchManagementClient < MsRestAzure::AzureServiceClient
11
+ include MsRestAzure
12
+ include MsRestAzure::Serialization
13
+
14
+ # @return [String] the base URI of the service.
15
+ attr_accessor :base_url
16
+
17
+ # @return Credentials needed for the client to connect to Azure.
18
+ attr_reader :credentials
19
+
20
+ # @return [String] A unique identifier of a Microsoft Azure subscription.
21
+ # The subscription ID forms part of the URI for every service call.
22
+ attr_accessor :subscription_id
23
+
24
+ # @return [String] The API version to be used with the HTTP request.
25
+ attr_reader :api_version
26
+
27
+ # @return [String] Gets or sets the preferred language for the response.
28
+ attr_accessor :accept_language
29
+
30
+ # @return [Integer] Gets or sets the retry timeout in seconds for Long
31
+ # Running Operations. Default value is 30.
32
+ attr_accessor :long_running_operation_retry_timeout
33
+
34
+ # @return [Boolean] When set to true a unique x-ms-client-request-id value
35
+ # is generated and included in each request. Default is true.
36
+ attr_accessor :generate_client_request_id
37
+
38
+ # @return [BatchAccountOperations] batch_account_operations
39
+ attr_reader :batch_account_operations
40
+
41
+ # @return [ApplicationPackageOperations] application_package_operations
42
+ attr_reader :application_package_operations
43
+
44
+ # @return [ApplicationOperations] application_operations
45
+ attr_reader :application_operations
46
+
47
+ # @return [Location] location
48
+ attr_reader :location
49
+
50
+ #
51
+ # Creates initializes a new instance of the BatchManagementClient class.
52
+ # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
53
+ # @param base_url [String] the base URI of the service.
54
+ # @param options [Array] filters to be applied to the HTTP requests.
55
+ #
56
+ def initialize(credentials = nil, base_url = nil, options = nil)
57
+ super(credentials, options)
58
+ @base_url = base_url || 'https://management.azure.com'
59
+
60
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
61
+ @credentials = credentials
62
+
63
+ @batch_account_operations = BatchAccountOperations.new(self)
64
+ @application_package_operations = ApplicationPackageOperations.new(self)
65
+ @application_operations = ApplicationOperations.new(self)
66
+ @location = Location.new(self)
67
+ @api_version = '2015-12-01'
68
+ @accept_language = 'en-US'
69
+ @long_running_operation_retry_timeout = 30
70
+ @generate_client_request_id = true
71
+ add_telemetry
72
+ end
73
+
74
+ #
75
+ # Makes a request and returns the body of the response.
76
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
77
+ # @param path [String] the path, relative to {base_url}.
78
+ # @param options [Hash{String=>String}] specifying any request options like :body.
79
+ # @return [Hash{String=>String}] containing the body of the response.
80
+ # Example:
81
+ #
82
+ # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
83
+ # path = "/path"
84
+ # options = {
85
+ # body: request_content,
86
+ # query_params: {'api-version' => '2016-02-01'}
87
+ # }
88
+ # result = @client.make_request(:put, path, options)
89
+ #
90
+ def make_request(method, path, options = {})
91
+ result = make_request_with_http_info(method, path, options)
92
+ result.body unless result.nil?
93
+ end
94
+
95
+ #
96
+ # Makes a request and returns the operation response.
97
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
98
+ # @param path [String] the path, relative to {base_url}.
99
+ # @param options [Hash{String=>String}] specifying any request options like :body.
100
+ # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
101
+ #
102
+ def make_request_with_http_info(method, path, options = {})
103
+ result = make_request_async(method, path, options).value!
104
+ result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
105
+ result
106
+ end
107
+
108
+ #
109
+ # Makes a request asynchronously.
110
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
111
+ # @param path [String] the path, relative to {base_url}.
112
+ # @param options [Hash{String=>String}] specifying any request options like :body.
113
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
114
+ #
115
+ def make_request_async(method, path, options = {})
116
+ fail ArgumentError, 'method is nil' if method.nil?
117
+ fail ArgumentError, 'path is nil' if path.nil?
118
+
119
+ request_url = options[:base_url] || @base_url
120
+
121
+ request_headers = @request_headers
122
+ request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
123
+ options.merge!({headers: request_headers.merge(options[:headers] || {})})
124
+ options.merge!({credentials: @credentials}) unless @credentials.nil?
125
+
126
+ super(request_url, method, path, options)
127
+ end
128
+
129
+
130
+ private
131
+ #
132
+ # Adds telemetry information.
133
+ #
134
+ def add_telemetry
135
+ sdk_information = 'azure_mgmt_batch'
136
+ if defined? Azure::Batch::Mgmt::V2015_12_01::VERSION
137
+ sdk_information = "#{sdk_information}/#{Azure::Batch::Mgmt::V2015_12_01::VERSION}"
138
+ end
139
+ add_user_agent_information(sdk_information)
140
+ end
141
+ end
142
+ end
@@ -0,0 +1,115 @@
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::Batch::Mgmt::V2015_12_01
7
+ #
8
+ # Location
9
+ #
10
+ class Location
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the Location class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [BatchManagementClient] reference to the BatchManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Gets the Batch service quotas for the specified subscription at the given
26
+ # location.
27
+ #
28
+ # @param location_name [String] The desired region for the quotas.
29
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
30
+ # will be added to the HTTP request.
31
+ #
32
+ # @return [BatchLocationQuota] operation results.
33
+ #
34
+ def get_quotas(location_name, custom_headers = nil)
35
+ response = get_quotas_async(location_name, custom_headers).value!
36
+ response.body unless response.nil?
37
+ end
38
+
39
+ #
40
+ # Gets the Batch service quotas for the specified subscription at the given
41
+ # location.
42
+ #
43
+ # @param location_name [String] The desired region for the quotas.
44
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
45
+ # will be added to the HTTP request.
46
+ #
47
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
48
+ #
49
+ def get_quotas_with_http_info(location_name, custom_headers = nil)
50
+ get_quotas_async(location_name, custom_headers).value!
51
+ end
52
+
53
+ #
54
+ # Gets the Batch service quotas for the specified subscription at the given
55
+ # location.
56
+ #
57
+ # @param location_name [String] The desired region for the quotas.
58
+ # @param [Hash{String => String}] A hash of custom headers that will be added
59
+ # to the HTTP request.
60
+ #
61
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
62
+ #
63
+ def get_quotas_async(location_name, custom_headers = nil)
64
+ fail ArgumentError, 'location_name is nil' if location_name.nil?
65
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
66
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
67
+
68
+
69
+ request_headers = {}
70
+
71
+ # Set Headers
72
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
73
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
74
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/quotas'
75
+
76
+ request_url = @base_url || @client.base_url
77
+
78
+ options = {
79
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
80
+ path_params: {'locationName' => location_name,'subscriptionId' => @client.subscription_id},
81
+ query_params: {'api-version' => @client.api_version},
82
+ headers: request_headers.merge(custom_headers || {}),
83
+ base_url: request_url
84
+ }
85
+ promise = @client.make_request_async(:get, path_template, options)
86
+
87
+ promise = promise.then do |result|
88
+ http_response = result.response
89
+ status_code = http_response.status
90
+ response_content = http_response.body
91
+ unless status_code == 200
92
+ error_model = JSON.load(response_content)
93
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
94
+ end
95
+
96
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
97
+ # Deserialize Response
98
+ if status_code == 200
99
+ begin
100
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
101
+ result_mapper = Azure::Batch::Mgmt::V2015_12_01::Models::BatchLocationQuota.mapper()
102
+ result.body = @client.deserialize(result_mapper, parsed_response)
103
+ rescue Exception => e
104
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
105
+ end
106
+ end
107
+
108
+ result
109
+ end
110
+
111
+ promise.execute
112
+ end
113
+
114
+ end
115
+ end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Batch
6
+ module Azure::Batch::Mgmt::V2015_12_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for AccountKeyType
@@ -0,0 +1,45 @@
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::Batch::Mgmt::V2015_12_01
7
+ module Models
8
+ #
9
+ # Parameters for an ApplicationOperations.ActivateApplicationPackage
10
+ # request.
11
+ #
12
+ class ActivateApplicationPackageParameters
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The format of the application package binary file.
17
+ attr_accessor :format
18
+
19
+
20
+ #
21
+ # Mapper for ActivateApplicationPackageParameters class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'ActivateApplicationPackageParameters',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ActivateApplicationPackageParameters',
31
+ model_properties: {
32
+ format: {
33
+ required: true,
34
+ serialized_name: 'format',
35
+ type: {
36
+ name: 'String'
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,55 @@
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::Batch::Mgmt::V2015_12_01
7
+ module Models
8
+ #
9
+ # Parameters for an ApplicationOperations.AddApplication request.
10
+ #
11
+ class AddApplicationParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] A value indicating whether packages within the
16
+ # application may be overwritten using the same version string.
17
+ attr_accessor :allow_updates
18
+
19
+ # @return [String] The display name for the application.
20
+ attr_accessor :display_name
21
+
22
+
23
+ #
24
+ # Mapper for AddApplicationParameters class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ required: false,
30
+ serialized_name: 'AddApplicationParameters',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'AddApplicationParameters',
34
+ model_properties: {
35
+ allow_updates: {
36
+ required: false,
37
+ serialized_name: 'allowUpdates',
38
+ type: {
39
+ name: 'Boolean'
40
+ }
41
+ },
42
+ display_name: {
43
+ required: false,
44
+ serialized_name: 'displayName',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Batch
6
+ module Azure::Batch::Mgmt::V2015_12_01
7
7
  module Models
8
8
  #
9
9
  # Contains information about an application in a Batch account.
@@ -0,0 +1,110 @@
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::Batch::Mgmt::V2015_12_01
7
+ module Models
8
+ #
9
+ # An application package which represents a particular version of an
10
+ # application.
11
+ #
12
+ class ApplicationPackage
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The ID of the application.
17
+ attr_accessor :id
18
+
19
+ # @return [String] The version of the application package.
20
+ attr_accessor :version
21
+
22
+ # @return [PackageState] The current state of the application package.
23
+ # Possible values include: 'pending', 'active', 'unmapped'
24
+ attr_accessor :state
25
+
26
+ # @return [String] The format of the application package, if the package
27
+ # is active.
28
+ attr_accessor :format
29
+
30
+ # @return [String] The storage URL at which the application package is
31
+ # stored.
32
+ attr_accessor :storage_url
33
+
34
+ # @return [DateTime] The UTC time at which the storage URL will expire.
35
+ attr_accessor :storage_url_expiry
36
+
37
+ # @return [DateTime] The time at which the package was last activated, if
38
+ # the package is active.
39
+ attr_accessor :last_activation_time
40
+
41
+
42
+ #
43
+ # Mapper for ApplicationPackage class as Ruby Hash.
44
+ # This will be used for serialization/deserialization.
45
+ #
46
+ def self.mapper()
47
+ {
48
+ required: false,
49
+ serialized_name: 'ApplicationPackage',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'ApplicationPackage',
53
+ model_properties: {
54
+ id: {
55
+ required: false,
56
+ serialized_name: 'id',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ version: {
62
+ required: false,
63
+ serialized_name: 'version',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ state: {
69
+ required: false,
70
+ serialized_name: 'state',
71
+ type: {
72
+ name: 'Enum',
73
+ module: 'PackageState'
74
+ }
75
+ },
76
+ format: {
77
+ required: false,
78
+ serialized_name: 'format',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ storage_url: {
84
+ required: false,
85
+ serialized_name: 'storageUrl',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ },
90
+ storage_url_expiry: {
91
+ required: false,
92
+ serialized_name: 'storageUrlExpiry',
93
+ type: {
94
+ name: 'DateTime'
95
+ }
96
+ },
97
+ last_activation_time: {
98
+ required: false,
99
+ serialized_name: 'lastActivationTime',
100
+ type: {
101
+ name: 'DateTime'
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ end
108
+ end
109
+ end
110
+ end