ScheduleHttpAction

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

Bases: ScheduleAction

this is HTTP action

Attributes:

ACTION_TYPE_HTTP

A constant which can be used with the action_type property of a ScheduleAction.

action_details

[Required] Gets the action_details of this ScheduleHttpAction.

action_type

[Required] Gets the action_type of this ScheduleAction.

Methods:

__init__(**kwargs)

Initializes a new ScheduleHttpAction 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.

ACTION_TYPE_HTTP = 'HTTP'

A constant which can be used with the action_type property of a ScheduleAction. This constant has a value of “HTTP”

__init__(**kwargs)

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

Parameters
  • action_type (str) – The value to assign to the action_type property of this ScheduleHttpAction. Allowed values for this property are: “HTTP”

  • action_details (oci.data_science.models.ScheduleHttpActionDetails) – The value to assign to the action_details property of this ScheduleHttpAction.

property action_details

[Required] Gets the action_details of this ScheduleHttpAction.

Returns

The action_details of this ScheduleHttpAction.

Return type

oci.data_science.models.ScheduleHttpActionDetails

property action_type

[Required] Gets the action_type of this ScheduleAction. The Schedule Action type

Allowed values for this property are: “HTTP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The action_type of this ScheduleAction.

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.