Groovy Documentation

com.ace.mws.services
[Groovy] Class Service

java.lang.Object
  com.ace.mws.services.Service

class Service

Represents a Moab IT Service

Authors:
jpratt, seeleyn


Field Summary
private String account

The account associated with this service.

private ServiceAttributes attributes

The attributes of this service.

private Date dateCreated

The date this service was created.

private String id

The unique identifier of this service.

private Set includedServices

(String collection) The names of the services that this service contains.

private String label

A human readable description of this service.

private Date lastUpdated

The date this service was last updated.

private String name

The name of this service.

private String parent

The name of the service that contains this service.

private ServiceTemplate serviceTemplate

The service template name and ID (if any) used to create the service.

private Date startDateRequested

The date this service was requested.

private Date startDateScheduled

The date this service is scheduled to run.

private String status

The description of the current provisioning status.

private Long statusCode

A numeric code representing the current provisioning status.

private ServiceType type

The type of the service.

private String user

The user associated with this service.

 
Constructor Summary
Service()

 
Method Summary
String getAccount()

The account associated with this service.

ServiceAttributes getAttributes()

The attributes of this service.

Date getDateCreated()

The date this service was created.

String getId()

The unique identifier of this service.

Set getIncludedServices()

(String collection) The names of the services that this service contains.

String getLabel()

A human readable description of this service.

Date getLastUpdated()

The date this service was last updated.

String getName()

The name of this service.

String getParent()

The name of the service that contains this service.

ServiceTemplate getServiceTemplate()

The service template name and ID (if any) used to create the service.

Date getStartDateRequested()

The date this service was requested.

Date getStartDateScheduled()

The date this service is scheduled to run.

String getStatus()

The description of the current provisioning status.

Long getStatusCode()

A numeric code representing the current provisioning status.

ServiceType getType()

The type of the service.

String getUser()

The user associated with this service.

void setAccount(String account)

The account associated with this service.

void setAttributes(ServiceAttributes attributes)

The attributes of this service.

void setDateCreated(Date dateCreated)

The date this service was created.

void setId(String id)

The unique identifier of this service.

void setIncludedServices(Set includedServices)

(String collection) The names of the services that this service contains.

void setLabel(String label)

A human readable description of this service.

void setLastUpdated(Date lastUpdated)

The date this service was last updated.

void setName(String name)

The name of this service.

void setParent(String parent)

The name of the service that contains this service.

void setServiceTemplate(ServiceTemplate serviceTemplate)

The service template name and ID (if any) used to create the service.

void setStartDateRequested(Date startDateRequested)

The date this service was requested.

void setStartDateScheduled(Date startDateScheduled)

The date this service is scheduled to run.

void setStatus(String status)

The description of the current provisioning status.

void setStatusCode(Long statusCode)

A numeric code representing the current provisioning status.

void setType(ServiceType type)

The type of the service.

void setUser(String user)

The user associated with this service.

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

account

private String account
The account associated with this service. Valid during POST.


attributes

private ServiceAttributes attributes
The attributes of this service. Moab dependency attributes can only be defined on container services. Valid during POST. Valid during PUT.


dateCreated

private Date dateCreated
The date this service was created. Generated during POST.


id

private String id
The unique identifier of this service. Generated during POST.


includedServices

private Set includedServices
(String collection) The names of the services that this service contains. This can only be defined on container services. Valid during POST.
See Also:
String


label

private String label
A human readable description of this service. Valid for service template extension. Valid during POST.


lastUpdated

private Date lastUpdated
The date this service was last updated. Generated during POST.


name

private String name
The name of this service. Valid during POST.


parent

private String parent
The name of the service that contains this service. Generated during POST.


serviceTemplate

private ServiceTemplate serviceTemplate
The service template name and ID (if any) used to create the service. Valid during POST.


startDateRequested

private Date startDateRequested
The date this service was requested. Valid during POST.


startDateScheduled

private Date startDateScheduled
The date this service is scheduled to run. Generated during POST.


status

private String status
The description of the current provisioning status. Generated during POST. Valid during PUT.


statusCode

private Long statusCode
A numeric code representing the current provisioning status. What this code means is dependent on the provisioning scripts that create this service. Generated during POST. Valid during PUT.


type

private ServiceType type
The type of the service. Valid during POST.


user

private String user
The user associated with this service. Valid during POST.


 
Constructor Detail

Service

Service()


 
Method Detail

getAccount

String getAccount()
The account associated with this service. Valid during POST.


getAttributes

ServiceAttributes getAttributes()
The attributes of this service. Moab dependency attributes can only be defined on container services. Valid during POST. Valid during PUT.


getDateCreated

Date getDateCreated()
The date this service was created. Generated during POST.


getId

String getId()
The unique identifier of this service. Generated during POST.


getIncludedServices

Set getIncludedServices()
(String collection) The names of the services that this service contains. This can only be defined on container services. Valid during POST.
See Also:
String


getLabel

String getLabel()
A human readable description of this service. Valid for service template extension. Valid during POST.


getLastUpdated

Date getLastUpdated()
The date this service was last updated. Generated during POST.


getName

String getName()
The name of this service. Valid during POST.


getParent

String getParent()
The name of the service that contains this service. Generated during POST.


getServiceTemplate

ServiceTemplate getServiceTemplate()
The service template name and ID (if any) used to create the service. Valid during POST.


getStartDateRequested

Date getStartDateRequested()
The date this service was requested. Valid during POST.


getStartDateScheduled

Date getStartDateScheduled()
The date this service is scheduled to run. Generated during POST.


getStatus

String getStatus()
The description of the current provisioning status. Generated during POST. Valid during PUT.


getStatusCode

Long getStatusCode()
A numeric code representing the current provisioning status. What this code means is dependent on the provisioning scripts that create this service. Generated during POST. Valid during PUT.


getType

ServiceType getType()
The type of the service. Valid during POST.


getUser

String getUser()
The user associated with this service. Valid during POST.


setAccount

void setAccount(String account)
The account associated with this service. Valid during POST.


setAttributes

void setAttributes(ServiceAttributes attributes)
The attributes of this service. Moab dependency attributes can only be defined on container services. Valid during POST. Valid during PUT.


setDateCreated

void setDateCreated(Date dateCreated)
The date this service was created. Generated during POST.


setId

void setId(String id)
The unique identifier of this service. Generated during POST.


setIncludedServices

void setIncludedServices(Set includedServices)
(String collection) The names of the services that this service contains. This can only be defined on container services. Valid during POST.
See Also:
String


setLabel

void setLabel(String label)
A human readable description of this service. Valid for service template extension. Valid during POST.


setLastUpdated

void setLastUpdated(Date lastUpdated)
The date this service was last updated. Generated during POST.


setName

void setName(String name)
The name of this service. Valid during POST.


setParent

void setParent(String parent)
The name of the service that contains this service. Generated during POST.


setServiceTemplate

void setServiceTemplate(ServiceTemplate serviceTemplate)
The service template name and ID (if any) used to create the service. Valid during POST.


setStartDateRequested

void setStartDateRequested(Date startDateRequested)
The date this service was requested. Valid during POST.


setStartDateScheduled

void setStartDateScheduled(Date startDateScheduled)
The date this service is scheduled to run. Generated during POST.


setStatus

void setStatus(String status)
The description of the current provisioning status. Generated during POST. Valid during PUT.


setStatusCode

void setStatusCode(Long statusCode)
A numeric code representing the current provisioning status. What this code means is dependent on the provisioning scripts that create this service. Generated during POST. Valid during PUT.


setType

void setType(ServiceType type)
The type of the service. Valid during POST.


setUser

void setUser(String user)
The user associated with this service. Valid during POST.


toString

String toString()


 

Groovy Documentation