Class: Azure::Storage::Mgmt::V2017_06_01::Models::OperationDisplay

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

Overview

Display metadata associated with the operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#operationString

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

Returns:

  • (String)

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



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

def operation
  @operation
end

#providerString

Returns Service provider: Microsoft Storage.

Returns:

  • (String)

    Service provider: Microsoft Storage.



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

def provider
  @provider
end

#resourceString

Returns Resource on which the operation is performed etc.

Returns:

  • (String)

    Resource on which the operation is performed etc.



19
20
21
# File 'lib/2017-06-01/generated/azure_mgmt_storage/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.



29
30
31
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
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/operation_display.rb', line 29

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'
          }
        }
      }
    }
  }
end