Class: Azure::ApiManagement::Mgmt::V2016_07_07::Models::TenantConfigurationSyncStateContract

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb

Overview

Tenant Configuration Synchronization State.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#branchString

Returns The name of Git branch.

Returns:

  • (String)

    The name of Git branch.



16
17
18
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb', line 16

def branch
  @branch
end

#commit_idString

Returns The latest commit Id.

Returns:

  • (String)

    The latest commit Id.



19
20
21
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb', line 19

def commit_id
  @commit_id
end

#configuration_change_dateDateTime

date conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.

Returns:

  • (DateTime)

    The date of the latest configuration change. The



43
44
45
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb', line 43

def configuration_change_date
  @configuration_change_date
end

#is_exportBoolean

deploy (false) operation.

Returns:

  • (Boolean)

    value indicating if last sync was save (true) or



23
24
25
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb', line 23

def is_export
  @is_export
end

#is_git_enabledBoolean

enabled.

Returns:

  • (Boolean)

    value indicating whether Git configuration access is



31
32
33
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb', line 31

def is_git_enabled
  @is_git_enabled
end

#is_syncedBoolean

than the configuration change.

Returns:

  • (Boolean)

    value indicating if last synchronization was later



27
28
29
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb', line 27

def is_synced
  @is_synced
end

#sync_dateDateTime

conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.

Returns:

  • (DateTime)

    The date of the latest synchronization. The date



37
38
39
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb', line 37

def sync_date
  @sync_date
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb', line 50

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TenantConfigurationSyncStateContract',
    type: {
      name: 'Composite',
      class_name: 'TenantConfigurationSyncStateContract',
      model_properties: {
        branch: {
          client_side_validation: true,
          required: false,
          serialized_name: 'branch',
          type: {
            name: 'String'
          }
        },
        commit_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'commitId',
          type: {
            name: 'String'
          }
        },
        is_export: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isExport',
          type: {
            name: 'Boolean'
          }
        },
        is_synced: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isSynced',
          type: {
            name: 'Boolean'
          }
        },
        is_git_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isGitEnabled',
          type: {
            name: 'Boolean'
          }
        },
        sync_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'syncDate',
          type: {
            name: 'DateTime'
          }
        },
        configuration_change_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'configurationChangeDate',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end