Class: Azure::ARM::CognitiveServices::Models::OperationDisplayInfo

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_cognitive_services/models/operation_display_info.rb

Overview

The operation supported by Cognitive Services.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns The description of the operation.

Returns:

  • (String)

    The description of the operation.



17
18
19
# File 'lib/generated/azure_mgmt_cognitive_services/models/operation_display_info.rb', line 17

def description
  @description
end

#operationString

permission level.

Returns:

  • (String)

    The action that users can perform, based on their



21
22
23
# File 'lib/generated/azure_mgmt_cognitive_services/models/operation_display_info.rb', line 21

def operation
  @operation
end

#providerString

Returns Service provider: Microsoft Cognitive Services.

Returns:

  • (String)

    Service provider: Microsoft Cognitive Services.



24
25
26
# File 'lib/generated/azure_mgmt_cognitive_services/models/operation_display_info.rb', line 24

def provider
  @provider
end

#resourceString

Returns Resource on which the operation is performed.

Returns:

  • (String)

    Resource on which the operation is performed.



27
28
29
# File 'lib/generated/azure_mgmt_cognitive_services/models/operation_display_info.rb', line 27

def resource
  @resource
end

Class Method Details

.mapperObject

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



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
# File 'lib/generated/azure_mgmt_cognitive_services/models/operation_display_info.rb', line 34

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