Class GetDashboardsPaginatedOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetDashboardsPaginatedOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetDashboardsPaginatedOperationSpec
extends Object
GetDashboardsPaginatedSpec
Specification for the GetDashboardsPaginated operation.
Search for dashboards
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetDashboardsPaginatedOperationSpec(String dashboardName, String accountId, String owner, String groupname, String groupId, Long projectId, String orderBy, Long startAt, Integer maxResults, String status, String expand) Constructs a validated instance ofGetDashboardsPaginatedOperationSpec.Constructs a validated instance ofGetDashboardsPaginatedOperationSpec. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringUser account ID used to return dashboards with the matchingowner.accountId.User account ID used to return dashboards with the matchingowner.accountId.builder()protected boolean@Nullable StringString used to perform a case-insensitive partial match withname.dashboardName(@Nullable String dashboardName) String used to perform a case-insensitive partial match withname.boolean@Nullable Stringexpand()Use [expand](#expansion) to include additional information about dashboard in the response.Use [expand](#expansion) to include additional information about dashboard in the response.@Nullable StringgroupId()Group ID used to return dashboards that are shared with a group that matchessharePermissions.group.groupId.Group ID used to return dashboards that are shared with a group that matchessharePermissions.group.groupId.@Nullable StringAs a group's name can change, use ofgroupIdis recommended.As a group's name can change, use ofgroupIdis recommended.inthashCode()@Nullable IntegerThe maximum number of items to return per page.maxResults(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable StringorderBy()[Order](#ordering) the results by a field: *descriptionSorts by dashboard description.[Order](#ordering) the results by a field: *descriptionSorts by dashboard description.@Nullable Stringowner()This parameter is deprecated because of privacy changes.This parameter is deprecated because of privacy changes.@Nullable LongProject ID used to returns dashboards that are shared with a project that matchessharePermissions.project.id.Project ID used to returns dashboards that are shared with a project that matchessharePermissions.project.id.@Nullable LongstartAt()The index of the first item to return in a page of results (page offset).The index of the first item to return in a page of results (page offset).@Nullable Stringstatus()The status to filter by.The status to filter by.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetDashboardsPaginatedOperationSpec
@Internal public GetDashboardsPaginatedOperationSpec(Consumer<GetDashboardsPaginatedOperationSpec> spec) Constructs a validated instance ofGetDashboardsPaginatedOperationSpec.- Parameters:
spec- the specification to process
-
GetDashboardsPaginatedOperationSpec
@Internal public GetDashboardsPaginatedOperationSpec(String dashboardName, String accountId, String owner, String groupname, String groupId, Long projectId, String orderBy, Long startAt, Integer maxResults, String status, String expand) Constructs a validated instance ofGetDashboardsPaginatedOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
dashboardName- String used to perform a case-insensitive partial match withname.accountId- User account ID used to return dashboards with the matchingowner.accountId. This parameter cannot be used with theownerparameter.owner- This parameter is deprecated because of privacy changes. UseaccountIdinstead. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. User name used to return dashboards with the matchingowner.name. This parameter cannot be used with theaccountIdparameter.groupname- As a group's name can change, use ofgroupIdis recommended. Group name used to return dashboards that are shared with a group that matchessharePermissions.group.name. This parameter cannot be used with thegroupIdparameter.groupId- Group ID used to return dashboards that are shared with a group that matchessharePermissions.group.groupId. This parameter cannot be used with thegroupnameparameter.projectId- Project ID used to returns dashboards that are shared with a project that matchessharePermissions.project.id.orderBy- [Order](#ordering) the results by a field: *descriptionSorts by dashboard description. Note that this sort works independently of whether the expand to display the description field is in use. *favourite_countSorts by dashboard popularity. *idSorts by dashboard ID. *is_favouriteSorts by whether the dashboard is marked as a favorite. *nameSorts by dashboard name. *ownerSorts by dashboard owner name.startAt- The index of the first item to return in a page of results (page offset).maxResults- The maximum number of items to return per page.status- The status to filter by. It may be active, archived or deleted.expand- Use [expand](#expansion) to include additional information about dashboard in the response. This parameter accepts a comma-separated list. Expand options include: *descriptionReturns the description of the dashboard. *ownerReturns the owner of the dashboard. *viewUrlReturns the URL that is used to view the dashboard. *favouriteReturnsisFavourite, an indicator of whether the user has set the dashboard as a favorite. *favouritedCountReturnspopularity, a count of how many users have set this dashboard as a favorite. *sharePermissionsReturns details of the share permissions defined for the dashboard. *editPermissionsReturns details of the edit permissions defined for the dashboard. *isWritableReturns whether the current user has permission to edit the dashboard.
-
GetDashboardsPaginatedOperationSpec
protected GetDashboardsPaginatedOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static GetDashboardsPaginatedOperationSpec.GetDashboardsPaginatedOperationSpecBuilder builder() -
dashboardName
String used to perform a case-insensitive partial match withname. -
accountId
User account ID used to return dashboards with the matchingowner.accountId. This parameter cannot be used with theownerparameter. -
owner
This parameter is deprecated because of privacy changes. UseaccountIdinstead. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. User name used to return dashboards with the matchingowner.name. This parameter cannot be used with theaccountIdparameter. -
groupname
As a group's name can change, use ofgroupIdis recommended. Group name used to return dashboards that are shared with a group that matchessharePermissions.group.name. This parameter cannot be used with thegroupIdparameter. -
groupId
Group ID used to return dashboards that are shared with a group that matchessharePermissions.group.groupId. This parameter cannot be used with thegroupnameparameter. -
projectId
Project ID used to returns dashboards that are shared with a project that matchessharePermissions.project.id. -
orderBy
[Order](#ordering) the results by a field: *descriptionSorts by dashboard description. Note that this sort works independently of whether the expand to display the description field is in use. *favourite_countSorts by dashboard popularity. *idSorts by dashboard ID. *is_favouriteSorts by whether the dashboard is marked as a favorite. *nameSorts by dashboard name. *ownerSorts by dashboard owner name. -
startAt
The index of the first item to return in a page of results (page offset). -
maxResults
The maximum number of items to return per page. -
status
The status to filter by. It may be active, archived or deleted. -
expand
Use [expand](#expansion) to include additional information about dashboard in the response. This parameter accepts a comma-separated list. Expand options include: *descriptionReturns the description of the dashboard. *ownerReturns the owner of the dashboard. *viewUrlReturns the URL that is used to view the dashboard. *favouriteReturnsisFavourite, an indicator of whether the user has set the dashboard as a favorite. *favouritedCountReturnspopularity, a count of how many users have set this dashboard as a favorite. *sharePermissionsReturns details of the share permissions defined for the dashboard. *editPermissionsReturns details of the edit permissions defined for the dashboard. *isWritableReturns whether the current user has permission to edit the dashboard. -
dashboardName
String used to perform a case-insensitive partial match withname.- Returns:
this.
-
accountId
User account ID used to return dashboards with the matchingowner.accountId. This parameter cannot be used with theownerparameter.- Returns:
this.
-
owner
This parameter is deprecated because of privacy changes. UseaccountIdinstead. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. User name used to return dashboards with the matchingowner.name. This parameter cannot be used with theaccountIdparameter.- Returns:
this.
-
groupname
As a group's name can change, use ofgroupIdis recommended. Group name used to return dashboards that are shared with a group that matchessharePermissions.group.name. This parameter cannot be used with thegroupIdparameter.- Returns:
this.
-
groupId
Group ID used to return dashboards that are shared with a group that matchessharePermissions.group.groupId. This parameter cannot be used with thegroupnameparameter.- Returns:
this.
-
projectId
Project ID used to returns dashboards that are shared with a project that matchessharePermissions.project.id.- Returns:
this.
-
orderBy
[Order](#ordering) the results by a field: *descriptionSorts by dashboard description. Note that this sort works independently of whether the expand to display the description field is in use. *favourite_countSorts by dashboard popularity. *idSorts by dashboard ID. *is_favouriteSorts by whether the dashboard is marked as a favorite. *nameSorts by dashboard name. *ownerSorts by dashboard owner name.- Returns:
this.
-
startAt
The index of the first item to return in a page of results (page offset).- Returns:
this.
-
maxResults
The maximum number of items to return per page.- Returns:
this.
-
status
The status to filter by. It may be active, archived or deleted.- Returns:
this.
-
expand
Use [expand](#expansion) to include additional information about dashboard in the response. This parameter accepts a comma-separated list. Expand options include: *descriptionReturns the description of the dashboard. *ownerReturns the owner of the dashboard. *viewUrlReturns the URL that is used to view the dashboard. *favouriteReturnsisFavourite, an indicator of whether the user has set the dashboard as a favorite. *favouritedCountReturnspopularity, a count of how many users have set this dashboard as a favorite. *sharePermissionsReturns details of the share permissions defined for the dashboard. *editPermissionsReturns details of the edit permissions defined for the dashboard. *isWritableReturns whether the current user has permission to edit the dashboard.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-