class Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Iteration

Iteration model to be sent over JSON.

Attributes

classification_type[RW]

@return [Classifier] Gets the classification type of the project. Possible values include: 'Multiclass', 'Multilabel'

created[RW]

@return [DateTime] Gets the time this iteration was completed.

domain_id[RW]

@return Get or sets a guid of the domain the iteration has been trained on.

exportable[RW]

@return [Boolean] Whether the iteration can be exported to another format for download.

id[RW]

@return Gets the id of the iteration.

is_default[RW]

@return [Boolean] Gets or sets a value indicating whether the iteration is the default iteration for the project.

last_modified[RW]

@return [DateTime] Gets the time this iteration was last modified.

name[RW]

@return [String] Gets or sets the name of the iteration.

project_id[RW]

@return Gets The project id. of the iteration.

status[RW]

@return [String] Gets the current iteration status.

trained_at[RW]

@return [DateTime] Gets the time this iteration was last modified.

Public Class Methods

mapper() click to toggle source

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

# File lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/iteration.rb, line 57
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Iteration',
    type: {
      name: 'Composite',
      class_name: 'Iteration',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        is_default: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isDefault',
          type: {
            name: 'Boolean'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        created: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'created',
          type: {
            name: 'DateTime'
          }
        },
        last_modified: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'lastModified',
          type: {
            name: 'DateTime'
          }
        },
        trained_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'trainedAt',
          type: {
            name: 'DateTime'
          }
        },
        project_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'projectId',
          type: {
            name: 'String'
          }
        },
        exportable: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'exportable',
          type: {
            name: 'Boolean'
          }
        },
        domain_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'domainId',
          type: {
            name: 'String'
          }
        },
        classification_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'classificationType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end