PullRequestAttachmentSummary

class oci.devops.models.PullRequestAttachmentSummary(**kwargs)

Bases: object

summary of a pullRequest attachment

Methods

__init__(**kwargs) Initializes a new PullRequestAttachmentSummary object with values from keyword arguments.

Attributes

created_by [Required] Gets the created_by of this PullRequestAttachmentSummary.
file_name [Required] Gets the file_name of this PullRequestAttachmentSummary.
id [Required] Gets the id of this PullRequestAttachmentSummary.
pull_request_id [Required] Gets the pull_request_id of this PullRequestAttachmentSummary.
time_created [Required] Gets the time_created of this PullRequestAttachmentSummary.
__init__(**kwargs)

Initializes a new PullRequestAttachmentSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this PullRequestAttachmentSummary.
  • pull_request_id (str) – The value to assign to the pull_request_id property of this PullRequestAttachmentSummary.
  • file_name (str) – The value to assign to the file_name property of this PullRequestAttachmentSummary.
  • time_created (datetime) – The value to assign to the time_created property of this PullRequestAttachmentSummary.
  • created_by (oci.devops.models.PrincipalDetails) – The value to assign to the created_by property of this PullRequestAttachmentSummary.
created_by

[Required] Gets the created_by of this PullRequestAttachmentSummary.

Returns:The created_by of this PullRequestAttachmentSummary.
Return type:oci.devops.models.PrincipalDetails
file_name

[Required] Gets the file_name of this PullRequestAttachmentSummary. name to display in description or comment

Returns:The file_name of this PullRequestAttachmentSummary.
Return type:str
id

[Required] Gets the id of this PullRequestAttachmentSummary. Unique identifier that is immutable on creation

Returns:The id of this PullRequestAttachmentSummary.
Return type:str
pull_request_id

[Required] Gets the pull_request_id of this PullRequestAttachmentSummary. OCID of the pull request that this attachment belongs to

Returns:The pull_request_id of this PullRequestAttachmentSummary.
Return type:str
time_created

[Required] Gets the time_created of this PullRequestAttachmentSummary. Creation timestamp. Format defined by RFC3339.

Returns:The time_created of this PullRequestAttachmentSummary.
Return type:datetime