Method: Forgejo::Branch.attribute_map
- Defined in:
- lib/forgejo/models/branch.rb
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/forgejo/models/branch.rb', line 38 def self.attribute_map { :'commit' => :'commit', :'effective_branch_protection_name' => :'effective_branch_protection_name', :'enable_status_check' => :'enable_status_check', :'name' => :'name', :'protected' => :'protected', :'required_approvals' => :'required_approvals', :'status_check_contexts' => :'status_check_contexts', :'user_can_merge' => :'user_can_merge', :'user_can_push' => :'user_can_push' } end |