Class: Azure::ServiceFabric::V6_3_0_9::Models::PagedBackupInfoList

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/paged_backup_info_list.rb

Overview

The list of backups. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#continuation_tokenString

next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response.

Returns:

  • (String)

    The continuation token parameter is used to obtain



23
24
25
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/paged_backup_info_list.rb', line 23

def continuation_token
  @continuation_token
end

#itemsArray<BackupInfo>

Returns List of backup information.

Returns:

  • (Array<BackupInfo>)

    List of backup information.



26
27
28
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/paged_backup_info_list.rb', line 26

def items
  @items
end

Class Method Details

.mapperObject

Mapper for PagedBackupInfoList class as Ruby Hash. This will be used for serialization/deserialization.



33
34
35
36
37
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
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/paged_backup_info_list.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PagedBackupInfoList',
    type: {
      name: 'Composite',
      class_name: 'PagedBackupInfoList',
      model_properties: {
        continuation_token: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ContinuationToken',
          type: {
            name: 'String'
          }
        },
        items: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Items',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'BackupInfoElementType',
                type: {
                  name: 'Composite',
                  class_name: 'BackupInfo'
                }
            }
          }
        }
      }
    }
  }
end