OpnMembership¶
- class oci.marketplace_publisher.models.OpnMembership(**kwargs)¶
Bases:
objectOPN membership information
Methods:
__init__(**kwargs)Initializes a new OpnMembership object with values from keyword arguments.
Attributes:
Gets the opn_membership_type of this OpnMembership.
Gets the opn_number of this OpnMembership.
Gets the opn_status of this OpnMembership.
Gets the time_end of this OpnMembership.
Gets the time_start of this OpnMembership.
- __init__(**kwargs)¶
Initializes a new OpnMembership object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
time_start (datetime) – The value to assign to the time_start property of this OpnMembership.
time_end (datetime) – The value to assign to the time_end property of this OpnMembership.
opn_status (str) – The value to assign to the opn_status property of this OpnMembership.
opn_number (str) – The value to assign to the opn_number property of this OpnMembership.
opn_membership_type (str) – The value to assign to the opn_membership_type property of this OpnMembership.
- property opn_membership_type¶
Gets the opn_membership_type of this OpnMembership. OPN membership type
- Returns
The opn_membership_type of this OpnMembership.
- Return type
str
- property opn_number¶
Gets the opn_number of this OpnMembership. OPN Number number
- Returns
The opn_number of this OpnMembership.
- Return type
str
- property opn_status¶
Gets the opn_status of this OpnMembership. OPN status
- Returns
The opn_status of this OpnMembership.
- Return type
str
- property time_end¶
Gets the time_end of this OpnMembership. OPN membership end date. An RFC3339 formatted datetime string
- Returns
The time_end of this OpnMembership.
- Return type
datetime
- property time_start¶
Gets the time_start of this OpnMembership. OPN membership start date. An RFC3339 formatted datetime string
- Returns
The time_start of this OpnMembership.
- Return type
datetime