Klasse FindTargetFromSourceOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.FindTargetFromSourceOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class FindTargetFromSourceOperationSpec
extends Object
FindTargetFromSourceSpec
Specification for the FindTargetFromSource operation.
Find target entities related to a source entity
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedFindTargetFromSourceOperationSpec(String relationName, String sourceType, String sourceKey, String targetType, String sourceStatus, String targetStatus, Integer sourceVersion, Integer targetVersion, List<String> expand, Integer start, Integer limit) Constructs a validated instance ofFindTargetFromSourceOperationSpec.Constructs a validated instance ofFindTargetFromSourceOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleanexpand()A multi-value parameter indicating which properties of the response object to expand.A multi-value parameter indicating which properties of the response object to expand.inthashCode()@Nullable Integerlimit()The maximum number of relationships to return per page.The maximum number of relationships to return per page.@NotNull StringThe name of the relationship.relationName(@NotNull String relationName) The name of the relationship.@NotNull StringThe identifier for the source entity: - IfsourceTypeisuser, then specify eithercurrent(logged-in user), the user key of the user, or the account ID of the user.The identifier for the source entity: - IfsourceTypeisuser, then specify eithercurrent(logged-in user), the user key of the user, or the account ID of the user.@Nullable StringThe status of the source.sourceStatus(@Nullable String sourceStatus) The status of the source.@NotNull StringThe source entity type of the relationship.sourceType(@NotNull String sourceType) The source entity type of the relationship.@Nullable IntegerThe version of the source.sourceVersion(@Nullable Integer sourceVersion) The version of the source.@Nullable Integerstart()The starting index of the returned relationships.The starting index of the returned relationships.@Nullable StringThe status of the target.targetStatus(@Nullable String targetStatus) The status of the target.@NotNull StringThe target entity type of the relationship.targetType(@NotNull String targetType) The target entity type of the relationship.@Nullable IntegerThe version of the target.targetVersion(@Nullable Integer targetVersion) The version of the target.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
FindTargetFromSourceOperationSpec
@Internal public FindTargetFromSourceOperationSpec(Consumer<FindTargetFromSourceOperationSpec> spec) Constructs a validated instance ofFindTargetFromSourceOperationSpec.- Parameter:
spec- the specification to process
-
FindTargetFromSourceOperationSpec
@Internal public FindTargetFromSourceOperationSpec(String relationName, String sourceType, String sourceKey, String targetType, String sourceStatus, String targetStatus, Integer sourceVersion, Integer targetVersion, List<String> expand, Integer start, Integer limit) Constructs a validated instance ofFindTargetFromSourceOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
relationName- The name of the relationship. This method supports relationships created via [Create relationship](#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-put). Note, this method does not support 'like' or 'favourite' relationships.sourceType- The source entity type of the relationship.sourceKey- The identifier for the source entity: - IfsourceTypeisuser, then specify eithercurrent(logged-in user), the user key of the user, or the account ID of the user. Note that the user key has been deprecated in favor of the account ID for this parameter. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. - IfsourceTypeis 'content', then specify the content ID. - IfsourceTypeis 'space', then specify the space key.targetType- The target entity type of the relationship.sourceStatus- The status of the source. This parameter is only used when thesourceTypeis 'content'.targetStatus- The status of the target. This parameter is only used when thetargetTypeis 'content'.sourceVersion- The version of the source. This parameter is only used when thesourceTypeis 'content' and thesourceStatusis 'historical'.targetVersion- The version of the target. This parameter is only used when thetargetTypeis 'content' and thetargetStatusis 'historical'.expand- A multi-value parameter indicating which properties of the response object to expand. -relationDatareturns information about the relationship, such as who created it and when it was created. -sourcereturns the source entity. -targetreturns the target entity.start- The starting index of the returned relationships.limit- The maximum number of relationships to return per page. Note, this may be restricted by fixed system limits.
-
FindTargetFromSourceOperationSpec
protected FindTargetFromSourceOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
relationName
The name of the relationship. This method supports relationships created via [Create relationship](#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-put). Note, this method does not support 'like' or 'favourite' relationships. -
sourceType
The source entity type of the relationship. -
sourceKey
The identifier for the source entity: - IfsourceTypeisuser, then specify eithercurrent(logged-in user), the user key of the user, or the account ID of the user. Note that the user key has been deprecated in favor of the account ID for this parameter. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. - IfsourceTypeis 'content', then specify the content ID. - IfsourceTypeis 'space', then specify the space key. -
targetType
The target entity type of the relationship. -
sourceStatus
The status of the source. This parameter is only used when thesourceTypeis 'content'. -
targetStatus
The status of the target. This parameter is only used when thetargetTypeis 'content'. -
sourceVersion
The version of the source. This parameter is only used when thesourceTypeis 'content' and thesourceStatusis 'historical'. -
targetVersion
The version of the target. This parameter is only used when thetargetTypeis 'content' and thetargetStatusis 'historical'. -
expand
A multi-value parameter indicating which properties of the response object to expand. -relationDatareturns information about the relationship, such as who created it and when it was created. -sourcereturns the source entity. -targetreturns the target entity. -
start
The starting index of the returned relationships. -
limit
The maximum number of relationships to return per page. Note, this may be restricted by fixed system limits. -
relationName
The name of the relationship. This method supports relationships created via [Create relationship](#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-put). Note, this method does not support 'like' or 'favourite' relationships.- Gibt zurück:
this.
-
sourceType
The source entity type of the relationship.- Gibt zurück:
this.
-
sourceKey
The identifier for the source entity: - IfsourceTypeisuser, then specify eithercurrent(logged-in user), the user key of the user, or the account ID of the user. Note that the user key has been deprecated in favor of the account ID for this parameter. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. - IfsourceTypeis 'content', then specify the content ID. - IfsourceTypeis 'space', then specify the space key.- Gibt zurück:
this.
-
targetType
The target entity type of the relationship.- Gibt zurück:
this.
-
sourceStatus
The status of the source. This parameter is only used when thesourceTypeis 'content'.- Gibt zurück:
this.
-
targetStatus
The status of the target. This parameter is only used when thetargetTypeis 'content'.- Gibt zurück:
this.
-
sourceVersion
The version of the source. This parameter is only used when thesourceTypeis 'content' and thesourceStatusis 'historical'.- Gibt zurück:
this.
-
targetVersion
The version of the target. This parameter is only used when thetargetTypeis 'content' and thetargetStatusis 'historical'.- Gibt zurück:
this.
-
expand
A multi-value parameter indicating which properties of the response object to expand. -relationDatareturns information about the relationship, such as who created it and when it was created. -sourcereturns the source entity. -targetreturns the target entity.- Gibt zurück:
this.
-
start
The starting index of the returned relationships.- Gibt zurück:
this.
-
limit
The maximum number of relationships to return per page. Note, this may be restricted by fixed system limits.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-