1// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates.  All rights reserved.
2// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3// Code generated. DO NOT EDIT.
4
5// Blockchain Platform Control Plane API
6//
7// Blockchain Platform Control Plane API
8//
9
10package blockchain
11
12import (
13	"github.com/oracle/oci-go-sdk/common"
14)
15
16// BlockchainPlatformSummary Blockchain Platform Instance Summary.
17type BlockchainPlatformSummary struct {
18
19	// unique identifier that is immutable on creation
20	Id *string `mandatory:"true" json:"id"`
21
22	// Platform Instance Display name, can be renamed
23	DisplayName *string `mandatory:"true" json:"displayName"`
24
25	// Compartment Identifier
26	CompartmentId *string `mandatory:"true" json:"compartmentId"`
27
28	// Type of compute shape - one of Standard, (Enterprise) Small, Medium, Large or Extra Large
29	ComputeShape BlockchainPlatformComputeShapeEnum `mandatory:"true" json:"computeShape"`
30
31	// Platform Instance Description
32	Description *string `mandatory:"false" json:"description"`
33
34	// The time the the Platform Instance was created. An RFC3339 formatted datetime string
35	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
36
37	// The time the Platform Instance was updated. An RFC3339 formatted datetime string
38	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
39
40	// Role of platform - founder or participant
41	PlatformRole BlockchainPlatformPlatformRoleEnum `mandatory:"false" json:"platformRole,omitempty"`
42
43	// Service endpoint URL, valid post-provisioning
44	ServiceEndpoint *string `mandatory:"false" json:"serviceEndpoint"`
45
46	// The current state of the Platform Instance.
47	LifecycleState BlockchainPlatformLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
48
49	// An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
50	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
51
52	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
53	// Example: `{"bar-key": "value"}`
54	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
55
56	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
57	// Example: `{"foo-namespace": {"bar-key": "value"}}`
58	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
59}
60
61func (m BlockchainPlatformSummary) String() string {
62	return common.PointerString(m)
63}
64