Package tech.kronicle.sdk.models
Class Team
- java.lang.Object
-
- tech.kronicle.sdk.models.Team
-
- All Implemented Interfaces:
ObjectWithId,ObjectWithReference
public final class Team extends java.lang.Object implements ObjectWithId, ObjectWithReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTeam.TeamBuilder
-
Constructor Summary
Constructors Constructor Description Team(java.lang.String id, java.lang.String name, java.lang.String emailAddress, java.lang.String areaId, java.util.List<java.lang.String> tags, java.lang.String description, java.lang.String notes, java.util.List<Link> links, java.util.List<Component> components)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Team.TeamBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetAreaId()java.util.List<@Valid Component>getComponents()java.lang.StringgetDescription()java.lang.StringgetEmailAddress()java.lang.StringgetId()java.util.List<@Valid Link>getLinks()java.lang.StringgetName()java.lang.StringgetNotes()java.util.List<@NotBlank @Pattern(regexp="[a-z][a-z0-9]*(-[a-z0-9]+)*") java.lang.String>getTags()inthashCode()java.lang.Stringreference()Team.TeamBuildertoBuilder()java.lang.StringtoString()TeamwithAreaId(java.lang.String areaId)TeamwithComponents(java.util.List<@Valid Component> components)TeamwithDescription(java.lang.String description)TeamwithEmailAddress(java.lang.String emailAddress)TeamwithId(java.lang.String id)TeamwithLinks(java.util.List<@Valid Link> links)TeamwithName(java.lang.String name)TeamwithNotes(java.lang.String notes)TeamwithTags(java.util.List<@NotBlank @Pattern(regexp="[a-z][a-z0-9]*(-[a-z0-9]+)*") java.lang.String> tags)
-
-
-
Method Detail
-
reference
public java.lang.String reference()
- Specified by:
referencein interfaceObjectWithReference
-
builder
public static Team.TeamBuilder builder()
-
toBuilder
public Team.TeamBuilder toBuilder()
-
getId
public java.lang.String getId()
- Specified by:
getIdin interfaceObjectWithId
-
getName
public java.lang.String getName()
-
getEmailAddress
public java.lang.String getEmailAddress()
-
getAreaId
public java.lang.String getAreaId()
-
getTags
public java.util.List<@NotBlank @Pattern(regexp="[a-z][a-z0-9]*(-[a-z0-9]+)*") java.lang.String> getTags()
-
getDescription
public java.lang.String getDescription()
-
getNotes
public java.lang.String getNotes()
-
getLinks
public java.util.List<@Valid Link> getLinks()
-
getComponents
public java.util.List<@Valid Component> getComponents()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
withId
public Team withId(java.lang.String id)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withName
public Team withName(java.lang.String name)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withEmailAddress
public Team withEmailAddress(java.lang.String emailAddress)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAreaId
public Team withAreaId(java.lang.String areaId)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTags
public Team withTags(java.util.List<@NotBlank @Pattern(regexp="[a-z][a-z0-9]*(-[a-z0-9]+)*") java.lang.String> tags)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDescription
public Team withDescription(java.lang.String description)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNotes
public Team withNotes(java.lang.String notes)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLinks
public Team withLinks(java.util.List<@Valid Link> links)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-