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

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

Overview

Returns information about a specific comment.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#author_arnString

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

Returns:

  • (String)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-codecommit/types.rb', line 908

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token,
  :caller_reactions,
  :reaction_counts)
  SENSITIVE = []
  include Aws::Structure
end

#caller_reactionsArray<String>

The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.

Returns:

  • (Array<String>)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-codecommit/types.rb', line 908

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token,
  :caller_reactions,
  :reaction_counts)
  SENSITIVE = []
  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 returns information about the initial request that used that token.

Returns:

  • (String)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-codecommit/types.rb', line 908

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token,
  :caller_reactions,
  :reaction_counts)
  SENSITIVE = []
  include Aws::Structure
end

#comment_idString

The system-generated comment ID.

Returns:

  • (String)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-codecommit/types.rb', line 908

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token,
  :caller_reactions,
  :reaction_counts)
  SENSITIVE = []
  include Aws::Structure
end

#contentString

The content of the comment.

Returns:

  • (String)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-codecommit/types.rb', line 908

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token,
  :caller_reactions,
  :reaction_counts)
  SENSITIVE = []
  include Aws::Structure
end

#creation_dateTime

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

Returns:

  • (Time)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-codecommit/types.rb', line 908

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token,
  :caller_reactions,
  :reaction_counts)
  SENSITIVE = []
  include Aws::Structure
end

#deletedBoolean

A Boolean value indicating whether the comment has been deleted.

Returns:

  • (Boolean)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-codecommit/types.rb', line 908

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token,
  :caller_reactions,
  :reaction_counts)
  SENSITIVE = []
  include Aws::Structure
end

#in_reply_toString

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

Returns:

  • (String)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-codecommit/types.rb', line 908

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token,
  :caller_reactions,
  :reaction_counts)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_dateTime

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

Returns:

  • (Time)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-codecommit/types.rb', line 908

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token,
  :caller_reactions,
  :reaction_counts)
  SENSITIVE = []
  include Aws::Structure
end

#reaction_countsHash<String,Integer>

A string to integer map that represents the number of individual users who have responded to a comment with the specified reactions.

Returns:

  • (Hash<String,Integer>)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-codecommit/types.rb', line 908

class Comment < Struct.new(
  :comment_id,
  :content,
  :in_reply_to,
  :creation_date,
  :last_modified_date,
  :author_arn,
  :deleted,
  :client_request_token,
  :caller_reactions,
  :reaction_counts)
  SENSITIVE = []
  include Aws::Structure
end