Documentation ¶
Index ¶
- type AddSiteContentTypesCopyFromHubOperationOptions
- type AddSiteContentTypesCopyFromHubOperationResponse
- type AddSiteContentTypesCopyFromHubRequest
- type AddSiteContentTypesCopyOperationOptions
- type AddSiteContentTypesCopyOperationResponse
- type AddSiteContentTypesCopyRequest
- type ContentTypeOperationPredicate
- type CopySiteContentTypeToDefaultContentLocationOperationOptions
- type CopySiteContentTypeToDefaultContentLocationOperationResponse
- type CopySiteContentTypeToDefaultContentLocationRequest
- type CreateSiteContentTypeAssociateWithHubSiteOperationOptions
- type CreateSiteContentTypeAssociateWithHubSiteOperationResponse
- type CreateSiteContentTypeAssociateWithHubSiteRequest
- type CreateSiteContentTypeOperationOptions
- type CreateSiteContentTypeOperationResponse
- type CreateSiteContentTypePublishOperationOptions
- type CreateSiteContentTypePublishOperationResponse
- type CreateSiteContentTypeUnpublishOperationOptions
- type CreateSiteContentTypeUnpublishOperationResponse
- type DeleteSiteContentTypeOperationOptions
- type DeleteSiteContentTypeOperationResponse
- type GetSiteContentTypeOperationOptions
- type GetSiteContentTypeOperationResponse
- type GetSiteContentTypesCountOperationOptions
- type GetSiteContentTypesCountOperationResponse
- type ListSiteContentTypesCompleteResult
- type ListSiteContentTypesCustomPager
- type ListSiteContentTypesOperationOptions
- type ListSiteContentTypesOperationResponse
- type SiteContentTypeClient
- func (c SiteContentTypeClient) AddSiteContentTypesCopy(ctx context.Context, id beta.GroupIdSiteId, ...) (result AddSiteContentTypesCopyOperationResponse, err error)
- func (c SiteContentTypeClient) AddSiteContentTypesCopyFromHub(ctx context.Context, id beta.GroupIdSiteId, ...) (result AddSiteContentTypesCopyFromHubOperationResponse, err error)
- func (c SiteContentTypeClient) CopySiteContentTypeToDefaultContentLocation(ctx context.Context, id beta.GroupIdSiteIdContentTypeId, ...) (result CopySiteContentTypeToDefaultContentLocationOperationResponse, err error)
- func (c SiteContentTypeClient) CreateSiteContentType(ctx context.Context, id beta.GroupIdSiteId, input beta.ContentType, ...) (result CreateSiteContentTypeOperationResponse, err error)
- func (c SiteContentTypeClient) CreateSiteContentTypeAssociateWithHubSite(ctx context.Context, id beta.GroupIdSiteIdContentTypeId, ...) (result CreateSiteContentTypeAssociateWithHubSiteOperationResponse, err error)
- func (c SiteContentTypeClient) CreateSiteContentTypePublish(ctx context.Context, id beta.GroupIdSiteIdContentTypeId, ...) (result CreateSiteContentTypePublishOperationResponse, err error)
- func (c SiteContentTypeClient) CreateSiteContentTypeUnpublish(ctx context.Context, id beta.GroupIdSiteIdContentTypeId, ...) (result CreateSiteContentTypeUnpublishOperationResponse, err error)
- func (c SiteContentTypeClient) DeleteSiteContentType(ctx context.Context, id beta.GroupIdSiteIdContentTypeId, ...) (result DeleteSiteContentTypeOperationResponse, err error)
- func (c SiteContentTypeClient) GetSiteContentType(ctx context.Context, id beta.GroupIdSiteIdContentTypeId, ...) (result GetSiteContentTypeOperationResponse, err error)
- func (c SiteContentTypeClient) GetSiteContentTypesCount(ctx context.Context, id beta.GroupIdSiteId, ...) (result GetSiteContentTypesCountOperationResponse, err error)
- func (c SiteContentTypeClient) ListSiteContentTypes(ctx context.Context, id beta.GroupIdSiteId, ...) (result ListSiteContentTypesOperationResponse, err error)
- func (c SiteContentTypeClient) ListSiteContentTypesComplete(ctx context.Context, id beta.GroupIdSiteId, ...) (ListSiteContentTypesCompleteResult, error)
- func (c SiteContentTypeClient) ListSiteContentTypesCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdSiteId, ...) (result ListSiteContentTypesCompleteResult, err error)
- func (c SiteContentTypeClient) UpdateSiteContentType(ctx context.Context, id beta.GroupIdSiteIdContentTypeId, ...) (result UpdateSiteContentTypeOperationResponse, err error)
- type UpdateSiteContentTypeOperationOptions
- type UpdateSiteContentTypeOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddSiteContentTypesCopyFromHubOperationOptions ¶
type AddSiteContentTypesCopyFromHubOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultAddSiteContentTypesCopyFromHubOperationOptions ¶
func DefaultAddSiteContentTypesCopyFromHubOperationOptions() AddSiteContentTypesCopyFromHubOperationOptions
func (AddSiteContentTypesCopyFromHubOperationOptions) ToHeaders ¶
func (o AddSiteContentTypesCopyFromHubOperationOptions) ToHeaders() *client.Headers
func (AddSiteContentTypesCopyFromHubOperationOptions) ToOData ¶
func (o AddSiteContentTypesCopyFromHubOperationOptions) ToOData() *odata.Query
func (AddSiteContentTypesCopyFromHubOperationOptions) ToQuery ¶
func (o AddSiteContentTypesCopyFromHubOperationOptions) ToQuery() *client.QueryParams
type AddSiteContentTypesCopyFromHubRequest ¶
type AddSiteContentTypesCopyFromHubRequest struct {
ContentTypeId *string `json:"contentTypeId,omitempty"`
}
type AddSiteContentTypesCopyOperationOptions ¶
type AddSiteContentTypesCopyOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultAddSiteContentTypesCopyOperationOptions ¶
func DefaultAddSiteContentTypesCopyOperationOptions() AddSiteContentTypesCopyOperationOptions
func (AddSiteContentTypesCopyOperationOptions) ToHeaders ¶
func (o AddSiteContentTypesCopyOperationOptions) ToHeaders() *client.Headers
func (AddSiteContentTypesCopyOperationOptions) ToOData ¶
func (o AddSiteContentTypesCopyOperationOptions) ToOData() *odata.Query
func (AddSiteContentTypesCopyOperationOptions) ToQuery ¶
func (o AddSiteContentTypesCopyOperationOptions) ToQuery() *client.QueryParams
type AddSiteContentTypesCopyRequest ¶
type AddSiteContentTypesCopyRequest struct {
ContentType *string `json:"contentType,omitempty"`
}
type ContentTypeOperationPredicate ¶
type ContentTypeOperationPredicate struct { }
func (ContentTypeOperationPredicate) Matches ¶
func (p ContentTypeOperationPredicate) Matches(input beta.ContentType) bool
type CopySiteContentTypeToDefaultContentLocationOperationOptions ¶
type CopySiteContentTypeToDefaultContentLocationOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCopySiteContentTypeToDefaultContentLocationOperationOptions ¶
func DefaultCopySiteContentTypeToDefaultContentLocationOperationOptions() CopySiteContentTypeToDefaultContentLocationOperationOptions
func (CopySiteContentTypeToDefaultContentLocationOperationOptions) ToHeaders ¶
func (o CopySiteContentTypeToDefaultContentLocationOperationOptions) ToHeaders() *client.Headers
func (CopySiteContentTypeToDefaultContentLocationOperationOptions) ToOData ¶
func (o CopySiteContentTypeToDefaultContentLocationOperationOptions) ToOData() *odata.Query
func (CopySiteContentTypeToDefaultContentLocationOperationOptions) ToQuery ¶
func (o CopySiteContentTypeToDefaultContentLocationOperationOptions) ToQuery() *client.QueryParams
type CopySiteContentTypeToDefaultContentLocationRequest ¶
type CopySiteContentTypeToDefaultContentLocationRequest struct { DestinationFileName nullable.Type[string] `json:"destinationFileName,omitempty"` SourceFile *beta.ItemReference `json:"sourceFile,omitempty"` }
type CreateSiteContentTypeAssociateWithHubSiteOperationOptions ¶
type CreateSiteContentTypeAssociateWithHubSiteOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateSiteContentTypeAssociateWithHubSiteOperationOptions ¶
func DefaultCreateSiteContentTypeAssociateWithHubSiteOperationOptions() CreateSiteContentTypeAssociateWithHubSiteOperationOptions
func (CreateSiteContentTypeAssociateWithHubSiteOperationOptions) ToHeaders ¶
func (o CreateSiteContentTypeAssociateWithHubSiteOperationOptions) ToHeaders() *client.Headers
func (CreateSiteContentTypeAssociateWithHubSiteOperationOptions) ToOData ¶
func (o CreateSiteContentTypeAssociateWithHubSiteOperationOptions) ToOData() *odata.Query
func (CreateSiteContentTypeAssociateWithHubSiteOperationOptions) ToQuery ¶
func (o CreateSiteContentTypeAssociateWithHubSiteOperationOptions) ToQuery() *client.QueryParams
type CreateSiteContentTypeOperationOptions ¶
type CreateSiteContentTypeOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateSiteContentTypeOperationOptions ¶
func DefaultCreateSiteContentTypeOperationOptions() CreateSiteContentTypeOperationOptions
func (CreateSiteContentTypeOperationOptions) ToHeaders ¶
func (o CreateSiteContentTypeOperationOptions) ToHeaders() *client.Headers
func (CreateSiteContentTypeOperationOptions) ToOData ¶
func (o CreateSiteContentTypeOperationOptions) ToOData() *odata.Query
func (CreateSiteContentTypeOperationOptions) ToQuery ¶
func (o CreateSiteContentTypeOperationOptions) ToQuery() *client.QueryParams
type CreateSiteContentTypePublishOperationOptions ¶
type CreateSiteContentTypePublishOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateSiteContentTypePublishOperationOptions ¶
func DefaultCreateSiteContentTypePublishOperationOptions() CreateSiteContentTypePublishOperationOptions
func (CreateSiteContentTypePublishOperationOptions) ToHeaders ¶
func (o CreateSiteContentTypePublishOperationOptions) ToHeaders() *client.Headers
func (CreateSiteContentTypePublishOperationOptions) ToOData ¶
func (o CreateSiteContentTypePublishOperationOptions) ToOData() *odata.Query
func (CreateSiteContentTypePublishOperationOptions) ToQuery ¶
func (o CreateSiteContentTypePublishOperationOptions) ToQuery() *client.QueryParams
type CreateSiteContentTypeUnpublishOperationOptions ¶
type CreateSiteContentTypeUnpublishOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateSiteContentTypeUnpublishOperationOptions ¶
func DefaultCreateSiteContentTypeUnpublishOperationOptions() CreateSiteContentTypeUnpublishOperationOptions
func (CreateSiteContentTypeUnpublishOperationOptions) ToHeaders ¶
func (o CreateSiteContentTypeUnpublishOperationOptions) ToHeaders() *client.Headers
func (CreateSiteContentTypeUnpublishOperationOptions) ToOData ¶
func (o CreateSiteContentTypeUnpublishOperationOptions) ToOData() *odata.Query
func (CreateSiteContentTypeUnpublishOperationOptions) ToQuery ¶
func (o CreateSiteContentTypeUnpublishOperationOptions) ToQuery() *client.QueryParams
type DeleteSiteContentTypeOperationOptions ¶
type DeleteSiteContentTypeOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteSiteContentTypeOperationOptions ¶
func DefaultDeleteSiteContentTypeOperationOptions() DeleteSiteContentTypeOperationOptions
func (DeleteSiteContentTypeOperationOptions) ToHeaders ¶
func (o DeleteSiteContentTypeOperationOptions) ToHeaders() *client.Headers
func (DeleteSiteContentTypeOperationOptions) ToOData ¶
func (o DeleteSiteContentTypeOperationOptions) ToOData() *odata.Query
func (DeleteSiteContentTypeOperationOptions) ToQuery ¶
func (o DeleteSiteContentTypeOperationOptions) ToQuery() *client.QueryParams
type GetSiteContentTypeOperationOptions ¶
type GetSiteContentTypeOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetSiteContentTypeOperationOptions ¶
func DefaultGetSiteContentTypeOperationOptions() GetSiteContentTypeOperationOptions
func (GetSiteContentTypeOperationOptions) ToHeaders ¶
func (o GetSiteContentTypeOperationOptions) ToHeaders() *client.Headers
func (GetSiteContentTypeOperationOptions) ToOData ¶
func (o GetSiteContentTypeOperationOptions) ToOData() *odata.Query
func (GetSiteContentTypeOperationOptions) ToQuery ¶
func (o GetSiteContentTypeOperationOptions) ToQuery() *client.QueryParams
type GetSiteContentTypesCountOperationOptions ¶
type GetSiteContentTypesCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetSiteContentTypesCountOperationOptions ¶
func DefaultGetSiteContentTypesCountOperationOptions() GetSiteContentTypesCountOperationOptions
func (GetSiteContentTypesCountOperationOptions) ToHeaders ¶
func (o GetSiteContentTypesCountOperationOptions) ToHeaders() *client.Headers
func (GetSiteContentTypesCountOperationOptions) ToOData ¶
func (o GetSiteContentTypesCountOperationOptions) ToOData() *odata.Query
func (GetSiteContentTypesCountOperationOptions) ToQuery ¶
func (o GetSiteContentTypesCountOperationOptions) ToQuery() *client.QueryParams
type ListSiteContentTypesCompleteResult ¶
type ListSiteContentTypesCompleteResult struct { LatestHttpResponse *http.Response Items []beta.ContentType }
type ListSiteContentTypesCustomPager ¶
func (*ListSiteContentTypesCustomPager) NextPageLink ¶
func (p *ListSiteContentTypesCustomPager) NextPageLink() *odata.Link
type ListSiteContentTypesOperationOptions ¶
type ListSiteContentTypesOperationOptions struct { Count *bool Expand *odata.Expand Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListSiteContentTypesOperationOptions ¶
func DefaultListSiteContentTypesOperationOptions() ListSiteContentTypesOperationOptions
func (ListSiteContentTypesOperationOptions) ToHeaders ¶
func (o ListSiteContentTypesOperationOptions) ToHeaders() *client.Headers
func (ListSiteContentTypesOperationOptions) ToOData ¶
func (o ListSiteContentTypesOperationOptions) ToOData() *odata.Query
func (ListSiteContentTypesOperationOptions) ToQuery ¶
func (o ListSiteContentTypesOperationOptions) ToQuery() *client.QueryParams
type SiteContentTypeClient ¶
func NewSiteContentTypeClientWithBaseURI ¶
func NewSiteContentTypeClientWithBaseURI(sdkApi sdkEnv.Api) (*SiteContentTypeClient, error)
func (SiteContentTypeClient) AddSiteContentTypesCopy ¶
func (c SiteContentTypeClient) AddSiteContentTypesCopy(ctx context.Context, id beta.GroupIdSiteId, input AddSiteContentTypesCopyRequest, options AddSiteContentTypesCopyOperationOptions) (result AddSiteContentTypesCopyOperationResponse, err error)
AddSiteContentTypesCopy - Invoke action addCopy
func (SiteContentTypeClient) AddSiteContentTypesCopyFromHub ¶
func (c SiteContentTypeClient) AddSiteContentTypesCopyFromHub(ctx context.Context, id beta.GroupIdSiteId, input AddSiteContentTypesCopyFromHubRequest, options AddSiteContentTypesCopyFromHubOperationOptions) (result AddSiteContentTypesCopyFromHubOperationResponse, err error)
AddSiteContentTypesCopyFromHub - Invoke action addCopyFromContentTypeHub. Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021.
func (SiteContentTypeClient) CopySiteContentTypeToDefaultContentLocation ¶
func (c SiteContentTypeClient) CopySiteContentTypeToDefaultContentLocation(ctx context.Context, id beta.GroupIdSiteIdContentTypeId, input CopySiteContentTypeToDefaultContentLocationRequest, options CopySiteContentTypeToDefaultContentLocationOperationOptions) (result CopySiteContentTypeToDefaultContentLocationOperationResponse, err error)
CopySiteContentTypeToDefaultContentLocation - Invoke action copyToDefaultContentLocation
func (SiteContentTypeClient) CreateSiteContentType ¶
func (c SiteContentTypeClient) CreateSiteContentType(ctx context.Context, id beta.GroupIdSiteId, input beta.ContentType, options CreateSiteContentTypeOperationOptions) (result CreateSiteContentTypeOperationResponse, err error)
CreateSiteContentType - Create new navigation property to contentTypes for groups
func (SiteContentTypeClient) CreateSiteContentTypeAssociateWithHubSite ¶
func (c SiteContentTypeClient) CreateSiteContentTypeAssociateWithHubSite(ctx context.Context, id beta.GroupIdSiteIdContentTypeId, input CreateSiteContentTypeAssociateWithHubSiteRequest, options CreateSiteContentTypeAssociateWithHubSiteOperationOptions) (result CreateSiteContentTypeAssociateWithHubSiteOperationResponse, err error)
CreateSiteContentTypeAssociateWithHubSite - Invoke action associateWithHubSites
func (SiteContentTypeClient) CreateSiteContentTypePublish ¶
func (c SiteContentTypeClient) CreateSiteContentTypePublish(ctx context.Context, id beta.GroupIdSiteIdContentTypeId, options CreateSiteContentTypePublishOperationOptions) (result CreateSiteContentTypePublishOperationResponse, err error)
CreateSiteContentTypePublish - Invoke action publish
func (SiteContentTypeClient) CreateSiteContentTypeUnpublish ¶
func (c SiteContentTypeClient) CreateSiteContentTypeUnpublish(ctx context.Context, id beta.GroupIdSiteIdContentTypeId, options CreateSiteContentTypeUnpublishOperationOptions) (result CreateSiteContentTypeUnpublishOperationResponse, err error)
CreateSiteContentTypeUnpublish - Invoke action unpublish
func (SiteContentTypeClient) DeleteSiteContentType ¶
func (c SiteContentTypeClient) DeleteSiteContentType(ctx context.Context, id beta.GroupIdSiteIdContentTypeId, options DeleteSiteContentTypeOperationOptions) (result DeleteSiteContentTypeOperationResponse, err error)
DeleteSiteContentType - Delete navigation property contentTypes for groups
func (SiteContentTypeClient) GetSiteContentType ¶
func (c SiteContentTypeClient) GetSiteContentType(ctx context.Context, id beta.GroupIdSiteIdContentTypeId, options GetSiteContentTypeOperationOptions) (result GetSiteContentTypeOperationResponse, err error)
GetSiteContentType - Get contentTypes from groups. The collection of content types defined for this site.
func (SiteContentTypeClient) GetSiteContentTypesCount ¶
func (c SiteContentTypeClient) GetSiteContentTypesCount(ctx context.Context, id beta.GroupIdSiteId, options GetSiteContentTypesCountOperationOptions) (result GetSiteContentTypesCountOperationResponse, err error)
GetSiteContentTypesCount - Get the number of the resource
func (SiteContentTypeClient) ListSiteContentTypes ¶
func (c SiteContentTypeClient) ListSiteContentTypes(ctx context.Context, id beta.GroupIdSiteId, options ListSiteContentTypesOperationOptions) (result ListSiteContentTypesOperationResponse, err error)
ListSiteContentTypes - Get contentTypes from groups. The collection of content types defined for this site.
func (SiteContentTypeClient) ListSiteContentTypesComplete ¶
func (c SiteContentTypeClient) ListSiteContentTypesComplete(ctx context.Context, id beta.GroupIdSiteId, options ListSiteContentTypesOperationOptions) (ListSiteContentTypesCompleteResult, error)
ListSiteContentTypesComplete retrieves all the results into a single object
func (SiteContentTypeClient) ListSiteContentTypesCompleteMatchingPredicate ¶
func (c SiteContentTypeClient) ListSiteContentTypesCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdSiteId, options ListSiteContentTypesOperationOptions, predicate ContentTypeOperationPredicate) (result ListSiteContentTypesCompleteResult, err error)
ListSiteContentTypesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SiteContentTypeClient) UpdateSiteContentType ¶
func (c SiteContentTypeClient) UpdateSiteContentType(ctx context.Context, id beta.GroupIdSiteIdContentTypeId, input beta.ContentType, options UpdateSiteContentTypeOperationOptions) (result UpdateSiteContentTypeOperationResponse, err error)
UpdateSiteContentType - Update the navigation property contentTypes in groups
type UpdateSiteContentTypeOperationOptions ¶
type UpdateSiteContentTypeOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateSiteContentTypeOperationOptions ¶
func DefaultUpdateSiteContentTypeOperationOptions() UpdateSiteContentTypeOperationOptions
func (UpdateSiteContentTypeOperationOptions) ToHeaders ¶
func (o UpdateSiteContentTypeOperationOptions) ToHeaders() *client.Headers
func (UpdateSiteContentTypeOperationOptions) ToOData ¶
func (o UpdateSiteContentTypeOperationOptions) ToOData() *odata.Query
func (UpdateSiteContentTypeOperationOptions) ToQuery ¶
func (o UpdateSiteContentTypeOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_addsitecontenttypescopy.go
- method_addsitecontenttypescopyfromhub.go
- method_copysitecontenttypetodefaultcontentlocation.go
- method_createsitecontenttype.go
- method_createsitecontenttypeassociatewithhubsite.go
- method_createsitecontenttypepublish.go
- method_createsitecontenttypeunpublish.go
- method_deletesitecontenttype.go
- method_getsitecontenttype.go
- method_getsitecontenttypescount.go
- method_listsitecontenttypes.go
- method_updatesitecontenttype.go
- model_addsitecontenttypescopyfromhubrequest.go
- model_addsitecontenttypescopyrequest.go
- model_copysitecontenttypetodefaultcontentlocationrequest.go
- model_createsitecontenttypeassociatewithhubsiterequest.go
- predicates.go
- version.go