OSSModelArtifactReferenceDetails

class oci.data_science.models.OSSModelArtifactReferenceDetails(**kwargs)

Bases: oci.data_science.models.model_artifact_reference_details.ModelArtifactReferenceDetails

Reference to the OSS where model artifact is stored

Attributes

MODEL_ARTIFACT_REFERENCE_TYPE_OSS str(object=’’) -> str
bucket_name [Required] Gets the bucket_name of this OSSModelArtifactReferenceDetails.
model_artifact_reference_type [Required] Gets the model_artifact_reference_type of this ModelArtifactReferenceDetails.
namespace [Required] Gets the namespace of this OSSModelArtifactReferenceDetails.
prefix Gets the prefix of this OSSModelArtifactReferenceDetails.

Methods

__init__(**kwargs) Initializes a new OSSModelArtifactReferenceDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
MODEL_ARTIFACT_REFERENCE_TYPE_OSS = 'OSS'
__init__(**kwargs)

Initializes a new OSSModelArtifactReferenceDetails object with values from keyword arguments. The default value of the model_artifact_reference_type attribute of this class is OSS and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • model_artifact_reference_type (str) – The value to assign to the model_artifact_reference_type property of this OSSModelArtifactReferenceDetails. Allowed values for this property are: “OSS”
  • namespace (str) – The value to assign to the namespace property of this OSSModelArtifactReferenceDetails.
  • bucket_name (str) – The value to assign to the bucket_name property of this OSSModelArtifactReferenceDetails.
  • prefix (str) – The value to assign to the prefix property of this OSSModelArtifactReferenceDetails.
bucket_name

[Required] Gets the bucket_name of this OSSModelArtifactReferenceDetails. The bucket name of the model artifact reference in OSS.

Returns:The bucket_name of this OSSModelArtifactReferenceDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

model_artifact_reference_type

[Required] Gets the model_artifact_reference_type of this ModelArtifactReferenceDetails. The type of the model artifact reference.

Allowed values for this property are: “OSS”

Returns:The model_artifact_reference_type of this ModelArtifactReferenceDetails.
Return type:str
namespace

[Required] Gets the namespace of this OSSModelArtifactReferenceDetails. The namespace of the model artifact reference in OSS.

Returns:The namespace of this OSSModelArtifactReferenceDetails.
Return type:str
prefix

Gets the prefix of this OSSModelArtifactReferenceDetails. The prefix of the model artifact reference in OSS.

Returns:The prefix of this OSSModelArtifactReferenceDetails.
Return type:str