swagger:model Organization
| 839 | |
| 840 | // swagger:model Organization |
| 841 | type Organization struct { |
| 842 | ID string `json:"id,omitempty"` |
| 843 | Name string `json:"name,omitempty"` |
| 844 | Pools []Pool `json:"pool,omitempty"` |
| 845 | // CredentialName is the name of the credentials associated with the enterprise. |
| 846 | // This field is now deprecated. Use CredentialsID instead. This field will be |
| 847 | // removed in v0.2.0. |
| 848 | CredentialsName string `json:"credentials_name,omitempty"` |
| 849 | Credentials ForgeCredentials `json:"credentials,omitempty"` |
| 850 | CredentialsID uint `json:"credentials_id,omitempty"` |
| 851 | PoolManagerStatus PoolManagerStatus `json:"pool_manager_status,omitempty"` |
| 852 | PoolBalancerType PoolBalancerType `json:"pool_balancing_type,omitempty"` |
| 853 | Endpoint ForgeEndpoint `json:"endpoint,omitempty"` |
| 854 | CreatedAt time.Time `json:"created_at,omitempty"` |
| 855 | UpdatedAt time.Time `json:"updated_at,omitempty"` |
| 856 | Events []EntityEvent `json:"events,omitempty"` |
| 857 | AgentMode bool `json:"agent_mode"` |
| 858 | // Do not serialize sensitive info. |
| 859 | WebhookSecret string `json:"-"` |
| 860 | } |
| 861 | |
| 862 | func (o Organization) GetCreatedAt() time.Time { |
| 863 | return o.CreatedAt |
nothing calls this directly
no outgoing calls
no test coverage detected