github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/api/cloudcontroller/ccv2/last_operation.go (about)

     1  package ccv2
     2  
     3  import "code.cloudfoundry.org/cli/api/cloudcontroller/ccv2/constant"
     4  
     5  // LastOperation is the status of the last operation requested on a service
     6  // instance.
     7  type LastOperation struct {
     8  	// Type is the type of operation that was last performed or currently being
     9  	// performed on the service instance.
    10  	Type string `json:"type"`
    11  
    12  	// State is the status of the last operation or current operation being
    13  	// performed on the service instance.
    14  	State constant.LastOperationState `json:"state"`
    15  
    16  	// Description is the service broker-provided description of the operation.
    17  	Description string `json:"description"`
    18  
    19  	// UpdatedAt is the timestamp that the Cloud Controller last checked the
    20  	// service instance state from the broker.
    21  	UpdatedAt string `json:"updated_at"`
    22  
    23  	// CreatedAt is the timestamp that the Cloud Controller created the service
    24  	// instance from the broker.
    25  	CreatedAt string `json:"created_at"`
    26  }