Class: SBOM::CycloneDX::Record::Commit

Inherits:
Base
  • Object
show all
Defined in:
lib/sbom/cyclone_dx/record/commit.rb,
sig/sbom/cyclone_dx/record/commit.rbs

Overview

Schema name: Commit

Constant Summary

Constants inherited from Base

Base::Record

Instance Attribute Summary

Attributes inherited from Base

#errors

Instance Method Summary collapse

Methods inherited from Base

#<=>, const, custom_validators, fields, #formatted_errors, json_create, json_name, prop, #valid!, #valid?, validate

Methods included from _Klass

#const, #const_names, #create, #create!, #custom_validators, #fields, #json_name, #prop, #prop_names, #validate

Methods included from _Instance

#as_json, #errors, #formatted_errors, #to_json, #valid?

Constructor Details

#initialize ⇒ Commit

Returns a new instance of Commit.

Parameters:



5
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 5

def initialize: (?uid: String?, ?url: uri?, ?author: IdentifiableAction?, ?committer: IdentifiableAction?, ?message: String?) -> void

Instance Method Details

#author ⇒ IdentifiableAction?

Returns:



17
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 17

def author: () -> IdentifiableAction?

#author= ⇒ IdentifiableAction?

Parameters:

Returns:



18
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 18

def author=: (IdentifiableAction?) -> IdentifiableAction?

#author? ⇒ Boolean

Returns:

  • (Boolean)


19
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 19

def author?: () -> bool

#author_valid? ⇒ Boolean

Returns:

  • (Boolean)


20
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 20

def author_valid?: () -> bool

#committer ⇒ IdentifiableAction?

Returns:



22
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 22

def committer: () -> IdentifiableAction?

#committer= ⇒ IdentifiableAction?

Parameters:

Returns:



23
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 23

def committer=: (IdentifiableAction?) -> IdentifiableAction?

#committer? ⇒ Boolean

Returns:

  • (Boolean)


24
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 24

def committer?: () -> bool

#committer_valid? ⇒ Boolean

Returns:

  • (Boolean)


25
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 25

def committer_valid?: () -> bool

#message ⇒ String?

Returns:

  • (String, nil)


27
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 27

def message: () -> String?

#message= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


28
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 28

def message=: (String?) -> String?

#message? ⇒ Boolean

Returns:

  • (Boolean)


29
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 29

def message?: () -> bool

#message_valid? ⇒ Boolean

Returns:

  • (Boolean)


30
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 30

def message_valid?: () -> bool

#uid ⇒ String?

Returns:

  • (String, nil)


7
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 7

def uid: () -> String?

#uid= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


8
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 8

def uid=: (String?) -> String?

#uid? ⇒ Boolean

Returns:

  • (Boolean)


9
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 9

def uid?: () -> bool

#uid_valid? ⇒ Boolean

Returns:

  • (Boolean)


10
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 10

def uid_valid?: () -> bool

#url ⇒ uri?

Returns:

  • (uri, nil)


12
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 12

def url: () -> uri?

#url= ⇒ uri?

Parameters:

  • (uri, nil)

Returns:

  • (uri, nil)


13
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 13

def url=: (uri?) -> uri?

#url? ⇒ Boolean

Returns:

  • (Boolean)


14
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 14

def url?: () -> bool

#url_valid? ⇒ Boolean

Returns:

  • (Boolean)


15
# File 'sig/sbom/cyclone_dx/record/commit.rbs', line 15

def url_valid?: () -> bool