class Azure::CognitiveServices::Customvisiontraining::V3_0::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.

exportable_to[RW]

@return [Array<Enum>] A set of platforms this iteration can export to.

id[RW]

@return Gets the id of the iteration.

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.

original_publish_resource_id[RW]

@return [String] Resource Provider Id this iteration was originally published to.

project_id[RW]

@return Gets the project id of the iteration.

publish_name[RW]

@return [String] Name of the published model.

reserved_budget_in_hours[RW]

@return [Integer] Gets the reserved advanced training budget for the iteration.

status[RW]

@return [String] Gets the current iteration status.

trained_at[RW]

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

training_type[RW]

@return [TrainingType] Gets the training type of the iteration. Possible values include: 'Regular', 'Advanced'

Private Class Methods

mapper() click to toggle source

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

# File lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/iteration.rb, line 71
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: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        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'
          }
        },
        exportable_to: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'exportableTo',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'enumElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        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'
          }
        },
        training_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'trainingType',
          type: {
            name: 'String'
          }
        },
        reserved_budget_in_hours: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'reservedBudgetInHours',
          type: {
            name: 'Number'
          }
        },
        publish_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'publishName',
          type: {
            name: 'String'
          }
        },
        original_publish_resource_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'originalPublishResourceId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end