Class: Azure::DataShare::Mgmt::V2018_11_01_preview::Models::ProviderShareSubscription

Inherits:
ProxyDto
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb

Overview

A provider side share subscription data transfer object.

Instance Attribute Summary collapse

Attributes inherited from ProxyDto

#id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#companyString



16
17
18
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 16

def company
  @company
end

#created_atDateTime



19
20
21
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 19

def created_at
  @created_at
end

#created_byString



22
23
24
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 22

def created_by
  @created_by
end

#share_subscription_object_idString



31
32
33
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 31

def share_subscription_object_id
  @share_subscription_object_id
end

#share_subscription_statusShareSubscriptionStatus

subscription. Possible values include: ‘Active’, ‘Revoked’, ‘SourceDeleted’, ‘Revoking’



36
37
38
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 36

def share_subscription_status
  @share_subscription_status
end

#shared_atDateTime



25
26
27
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 25

def shared_at
  @shared_at
end

#shared_byString



28
29
30
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 28

def shared_by
  @shared_by
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ProviderShareSubscription',
    type: {
      name: 'Composite',
      class_name: 'ProviderShareSubscription',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        company: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.company',
          type: {
            name: 'String'
          }
        },
        created_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdAt',
          type: {
            name: 'DateTime'
          }
        },
        created_by: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdBy',
          type: {
            name: 'String'
          }
        },
        shared_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.sharedAt',
          type: {
            name: 'DateTime'
          }
        },
        shared_by: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.sharedBy',
          type: {
            name: 'String'
          }
        },
        share_subscription_object_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.shareSubscriptionObjectId',
          type: {
            name: 'String'
          }
        },
        share_subscription_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.shareSubscriptionStatus',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end