class Azure::Network::Mgmt::V2018_01_01::Models::Operation
Network
REST API operation definition.
Attributes
display[RW]
@return [OperationDisplay] Display metadata associated with the operation.
name[RW]
@return [String] Operation
name: {provider}/{resource}/{operation}
origin[RW]
@return [String] Origin
of the operation.
service_specification[RW]
@return [OperationPropertiesFormatServiceSpecification] Specification of the service.
Public Class Methods
mapper()
click to toggle source
Mapper for Operation
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-01-01/generated/azure_mgmt_network/models/operation.rb, line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Operation', type: { name: 'Composite', class_name: 'Operation', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, display: { client_side_validation: true, required: false, serialized_name: 'display', type: { name: 'Composite', class_name: 'OperationDisplay' } }, 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: 'OperationPropertiesFormatServiceSpecification' } } } } } end