Method: Forgejo::Branch.openapi_types

Defined in:
lib/forgejo/models/branch.rb

.openapi_typesObject

Attribute type mapping.



63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'lib/forgejo/models/branch.rb', line 63

def self.openapi_types
  {
    :'commit' => :'PayloadCommit',
    :'effective_branch_protection_name' => :'String',
    :'enable_status_check' => :'Boolean',
    :'name' => :'String',
    :'protected' => :'Boolean',
    :'required_approvals' => :'Integer',
    :'status_check_contexts' => :'Array<String>',
    :'user_can_merge' => :'Boolean',
    :'user_can_push' => :'Boolean'
  }
end