Class: Azure::DataShare::Mgmt::V2019_11_01::Models::OperationModel

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_model.rb

Overview

The response model for get operations

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#displayOperationModelProperties

Returns Properties on the operation.

Returns:



16
17
18
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_model.rb', line 16

def display
  @display
end

#nameString

Returns Operation name for display purposes.

Returns:

  • (String)

    Operation name for display purposes



19
20
21
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_model.rb', line 19

def name
  @name
end

#originString

Returns origin of the operation.

Returns:

  • (String)

    origin of the operation



22
23
24
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_model.rb', line 22

def origin
  @origin
end

#service_specificationOperationMetaServiceSpecification

Returns meta service specification.

Returns:



25
26
27
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_model.rb', line 25

def service_specification
  @service_specification
end

Class Method Details

.mapperObject

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



32
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
71
72
73
74
75
76
77
78
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_model.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OperationModel',
    type: {
      name: 'Composite',
      class_name: 'OperationModel',
      model_properties: {
        display: {
          client_side_validation: true,
          required: false,
          serialized_name: 'display',
          type: {
            name: 'Composite',
            class_name: 'OperationModelProperties'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        origin: {
          client_side_validation: true,
          required: false,
          serialized_name: 'origin',
          type: {
            name: 'String'
          }
        },
        service_specification: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceSpecification',
          type: {
            name: 'Composite',
            class_name: 'OperationMetaServiceSpecification'
          }
        }
      }
    }
  }
end