Class: Azure::Network::Mgmt::V2019_11_01::Models::OperationDisplay

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

Overview

Display metadata associated with the operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns Description of the operation.

Returns:

  • (String)

    Description of the operation.


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

def description
  @description
end

#operationString

Returns Type of the operation: get, read, delete, etc.

Returns:

  • (String)

    Type of the operation: get, read, delete, etc.


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

def operation
  @operation
end

#providerString

Returns Service provider: Microsoft Network.

Returns:

  • (String)

    Service provider: Microsoft Network.


16
17
18
# File 'lib/2019-11-01/generated/azure_mgmt_network/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/2019-11-01/generated/azure_mgmt_network/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
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/operation_display.rb', line 32

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