Class: Azure::Postgresql::Mgmt::V2017_12_01::Models::OperationDisplay

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-12-01/generated/azure_mgmt_postgresql/models/operation_display.rb

Overview

Display metadata associated with the operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns Operation description.

Returns:

  • (String)

    Operation description.



25
26
27
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/operation_display.rb', line 25

def description
  @description
end

#operationString

Returns Localized friendly name for the operation.

Returns:

  • (String)

    Localized friendly name for the operation.



22
23
24
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/operation_display.rb', line 22

def operation
  @operation
end

#providerString

Returns Operation resource provider name.

Returns:

  • (String)

    Operation resource provider name.



16
17
18
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/operation_display.rb', line 16

def provider
  @provider
end

#resourceString

Returns Resource on which the operation is performed.

Returns:

  • (String)

    Resource on which the operation is performed.



19
20
21
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/operation_display.rb', line 19

def resource
  @resource
end

Class Method Details

.mapperObject

Mapper for OperationDisplay 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
79
80
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/operation_display.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OperationDisplay',
    type: {
      name: 'Composite',
      class_name: 'OperationDisplay',
      model_properties: {
        provider: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'provider',
          type: {
            name: 'String'
          }
        },
        resource: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'resource',
          type: {
            name: 'String'
          }
        },
        operation: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'operation',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end