You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeCommit::Types::Comment

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb

Overview

Returns information about a specific comment.

Instance Attribute Summary collapse

Instance Attribute Details

#author_arnString

The Amazon Resource Name (ARN) of the person who posted the comment.

Returns:

  • (String)


142
143
144
145
146
147
148
149
150
151
152
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 142

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token)
  include Aws::Structure
end

#client_request_tokenString

A unique, client-generated idempotency token that when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request will return information about the initial request that used that token.

Returns:

  • (String)


142
143
144
145
146
147
148
149
150
151
152
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 142

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token)
  include Aws::Structure
end

#comment_idString

The system-generated comment ID.

Returns:

  • (String)


142
143
144
145
146
147
148
149
150
151
152
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 142

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token)
  include Aws::Structure
end

#contentString

The content of the comment.

Returns:

  • (String)


142
143
144
145
146
147
148
149
150
151
152
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 142

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token)
  include Aws::Structure
end

#creation_dateTime

The date and time the comment was created, in timestamp format.

Returns:

  • (Time)


142
143
144
145
146
147
148
149
150
151
152
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 142

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token)
  include Aws::Structure
end

#deletedBoolean

A Boolean value indicating whether the comment has been deleted.

Returns:

  • (Boolean)


142
143
144
145
146
147
148
149
150
151
152
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 142

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token)
  include Aws::Structure
end

#in_reply_toString

The ID of the comment for which this comment is a reply, if any.

Returns:

  • (String)


142
143
144
145
146
147
148
149
150
151
152
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 142

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token)
  include Aws::Structure
end

#last_modified_dateTime

The date and time the comment was most recently modified, in timestamp format.

Returns:

  • (Time)


142
143
144
145
146
147
148
149
150
151
152
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 142

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token)
  include Aws::Structure
end