Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterNewsroomAPIServer(s grpc.ServiceRegistrar, srv NewsroomAPIServer)
- type CreateNewsArticleRequest
- func (*CreateNewsArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNewsArticleRequest) GetAuthor() string
- func (x *CreateNewsArticleRequest) GetContent() string
- func (x *CreateNewsArticleRequest) GetImageReferenceId() string
- func (x *CreateNewsArticleRequest) GetTitle() string
- func (*CreateNewsArticleRequest) ProtoMessage()
- func (x *CreateNewsArticleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNewsArticleRequest) Reset()
- func (x *CreateNewsArticleRequest) String() string
- type CreateNewsArticleResponse
- func (*CreateNewsArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNewsArticleResponse) GetArticleDetails() *NewsArticleDetails
- func (*CreateNewsArticleResponse) ProtoMessage()
- func (x *CreateNewsArticleResponse) ProtoReflect() protoreflect.Message
- func (x *CreateNewsArticleResponse) Reset()
- func (x *CreateNewsArticleResponse) String() string
- type CreatePublishedArticleRequest
- func (*CreatePublishedArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePublishedArticleRequest) GetArticleLink() string
- func (x *CreatePublishedArticleRequest) GetDisplayToUser() bool
- func (x *CreatePublishedArticleRequest) GetNewArticleSid() int64
- func (*CreatePublishedArticleRequest) ProtoMessage()
- func (x *CreatePublishedArticleRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePublishedArticleRequest) Reset()
- func (x *CreatePublishedArticleRequest) String() string
- type CreatePublishedArticleResponse
- func (*CreatePublishedArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePublishedArticleResponse) GetPublishedArticleDetails() *PublishedArticleDetails
- func (*CreatePublishedArticleResponse) ProtoMessage()
- func (x *CreatePublishedArticleResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePublishedArticleResponse) Reset()
- func (x *CreatePublishedArticleResponse) String() string
- type GetNewsArticleByIdRequest
- func (*GetNewsArticleByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNewsArticleByIdRequest) GetNewArticleSid() int64
- func (*GetNewsArticleByIdRequest) ProtoMessage()
- func (x *GetNewsArticleByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetNewsArticleByIdRequest) Reset()
- func (x *GetNewsArticleByIdRequest) String() string
- type GetNewsArticleByIdResponse
- func (*GetNewsArticleByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNewsArticleByIdResponse) GetArticleDetails() *NewsArticleDetails
- func (*GetNewsArticleByIdResponse) ProtoMessage()
- func (x *GetNewsArticleByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetNewsArticleByIdResponse) Reset()
- func (x *GetNewsArticleByIdResponse) String() string
- type GetNewsForUserRequest
- type GetNewsForUserResponse
- func (*GetNewsForUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNewsForUserResponse) GetPublishedArticleDetails() []*PublishedArticleDetails
- func (*GetNewsForUserResponse) ProtoMessage()
- func (x *GetNewsForUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetNewsForUserResponse) Reset()
- func (x *GetNewsForUserResponse) String() string
- type GetPublishedArticleByIdRequest
- func (*GetPublishedArticleByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublishedArticleByIdRequest) GetNewArticleSid() int64deprecated
- func (x *GetPublishedArticleByIdRequest) GetPublishedArticleSid() int64
- func (*GetPublishedArticleByIdRequest) ProtoMessage()
- func (x *GetPublishedArticleByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetPublishedArticleByIdRequest) Reset()
- func (x *GetPublishedArticleByIdRequest) String() string
- type GetPublishedArticleByIdResponse
- func (*GetPublishedArticleByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublishedArticleByIdResponse) GetPublishedArticleDetails() *PublishedArticleDetails
- func (*GetPublishedArticleByIdResponse) ProtoMessage()
- func (x *GetPublishedArticleByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetPublishedArticleByIdResponse) Reset()
- func (x *GetPublishedArticleByIdResponse) String() string
- type ListImagesForNewsArticleRequest
- func (*ListImagesForNewsArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListImagesForNewsArticleRequest) GetNewArticleSid() int64
- func (*ListImagesForNewsArticleRequest) ProtoMessage()
- func (x *ListImagesForNewsArticleRequest) ProtoReflect() protoreflect.Message
- func (x *ListImagesForNewsArticleRequest) Reset()
- func (x *ListImagesForNewsArticleRequest) String() string
- type ListImagesForNewsArticleResponse
- func (*ListImagesForNewsArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListImagesForNewsArticleResponse) GetNewsArticleImages() []*NewsArticleImage
- func (*ListImagesForNewsArticleResponse) ProtoMessage()
- func (x *ListImagesForNewsArticleResponse) ProtoReflect() protoreflect.Message
- func (x *ListImagesForNewsArticleResponse) Reset()
- func (x *ListImagesForNewsArticleResponse) String() string
- type ListNewsArticlesRequest
- func (*ListNewsArticlesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNewsArticlesRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *ListNewsArticlesRequest) GetStatuses() []commons.ArticleStatus
- func (*ListNewsArticlesRequest) ProtoMessage()
- func (x *ListNewsArticlesRequest) ProtoReflect() protoreflect.Message
- func (x *ListNewsArticlesRequest) Reset()
- func (x *ListNewsArticlesRequest) String() string
- type ListNewsArticlesResponse
- func (*ListNewsArticlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNewsArticlesResponse) GetArticleDetails() []*NewsArticleDetails
- func (*ListNewsArticlesResponse) ProtoMessage()
- func (x *ListNewsArticlesResponse) ProtoReflect() protoreflect.Message
- func (x *ListNewsArticlesResponse) Reset()
- func (x *ListNewsArticlesResponse) String() string
- type ListPublishedArticlesRequest
- func (*ListPublishedArticlesRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListPublishedArticlesRequest) ProtoMessage()
- func (x *ListPublishedArticlesRequest) ProtoReflect() protoreflect.Message
- func (x *ListPublishedArticlesRequest) Reset()
- func (x *ListPublishedArticlesRequest) String() string
- type ListPublishedArticlesResponse
- func (*ListPublishedArticlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublishedArticlesResponse) GetPublishedArticleDetails() []*PublishedArticleDetails
- func (*ListPublishedArticlesResponse) ProtoMessage()
- func (x *ListPublishedArticlesResponse) ProtoReflect() protoreflect.Message
- func (x *ListPublishedArticlesResponse) Reset()
- func (x *ListPublishedArticlesResponse) String() string
- type NewsArticleDetails
- func (*NewsArticleDetails) Descriptor() ([]byte, []int)deprecated
- func (x *NewsArticleDetails) GetAuthor() string
- func (x *NewsArticleDetails) GetContent() string
- func (x *NewsArticleDetails) GetDateCreated() *timestamppb.Timestamp
- func (x *NewsArticleDetails) GetImageReferenceId() string
- func (x *NewsArticleDetails) GetLastEdited() *timestamppb.Timestamp
- func (x *NewsArticleDetails) GetNewArticleSid() int64
- func (x *NewsArticleDetails) GetStatus() commons.ArticleStatus
- func (x *NewsArticleDetails) GetTitle() string
- func (*NewsArticleDetails) ProtoMessage()
- func (x *NewsArticleDetails) ProtoReflect() protoreflect.Message
- func (x *NewsArticleDetails) Reset()
- func (x *NewsArticleDetails) String() string
- type NewsArticleImage
- func (*NewsArticleImage) Descriptor() ([]byte, []int)deprecated
- func (x *NewsArticleImage) GetContent() string
- func (x *NewsArticleImage) GetDownloadUrl() string
- func (x *NewsArticleImage) GetImageReferenceId() string
- func (x *NewsArticleImage) GetImageType() string
- func (x *NewsArticleImage) GetNewArticleSid() int64
- func (x *NewsArticleImage) GetTempId() *wrapperspb.StringValue
- func (x *NewsArticleImage) GetUuid() string
- func (*NewsArticleImage) ProtoMessage()
- func (x *NewsArticleImage) ProtoReflect() protoreflect.Message
- func (x *NewsArticleImage) Reset()
- func (x *NewsArticleImage) String() string
- type NewsroomAPIClient
- type NewsroomAPIServer
- type PublishedArticleDetails
- func (*PublishedArticleDetails) Descriptor() ([]byte, []int)deprecated
- func (x *PublishedArticleDetails) GetDatePublished() *timestamppb.Timestamp
- func (x *PublishedArticleDetails) GetDisplayToUser() bool
- func (x *PublishedArticleDetails) GetNewsArticleDetails() *NewsArticleDetails
- func (x *PublishedArticleDetails) GetPublishedArticleSid() int64
- func (*PublishedArticleDetails) ProtoMessage()
- func (x *PublishedArticleDetails) ProtoReflect() protoreflect.Message
- func (x *PublishedArticleDetails) Reset()
- func (x *PublishedArticleDetails) String() string
- type StoreNewsArticleImageRequest
- func (*StoreNewsArticleImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreNewsArticleImageRequest) GetImage() *NewsArticleImage
- func (*StoreNewsArticleImageRequest) ProtoMessage()
- func (x *StoreNewsArticleImageRequest) ProtoReflect() protoreflect.Message
- func (x *StoreNewsArticleImageRequest) Reset()
- func (x *StoreNewsArticleImageRequest) String() string
- type StoreNewsArticleImageResponse
- func (*StoreNewsArticleImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StoreNewsArticleImageResponse) GetImage() *NewsArticleImage
- func (*StoreNewsArticleImageResponse) ProtoMessage()
- func (x *StoreNewsArticleImageResponse) ProtoReflect() protoreflect.Message
- func (x *StoreNewsArticleImageResponse) Reset()
- func (x *StoreNewsArticleImageResponse) String() string
- type UnimplementedNewsroomAPIServer
- func (UnimplementedNewsroomAPIServer) CreateNewsArticle(context.Context, *CreateNewsArticleRequest) (*CreateNewsArticleResponse, error)
- func (UnimplementedNewsroomAPIServer) CreatePublishedArticle(context.Context, *CreatePublishedArticleRequest) (*CreatePublishedArticleResponse, error)
- func (UnimplementedNewsroomAPIServer) GetNewsArticleById(context.Context, *GetNewsArticleByIdRequest) (*GetNewsArticleByIdResponse, error)
- func (UnimplementedNewsroomAPIServer) GetNewsForUser(context.Context, *GetNewsForUserRequest) (*GetNewsForUserResponse, error)
- func (UnimplementedNewsroomAPIServer) GetPublishedArticleById(context.Context, *GetPublishedArticleByIdRequest) (*GetPublishedArticleByIdResponse, error)
- func (UnimplementedNewsroomAPIServer) ListImagesForNewsArticle(context.Context, *ListImagesForNewsArticleRequest) (*ListImagesForNewsArticleResponse, error)
- func (UnimplementedNewsroomAPIServer) ListNewsArticles(context.Context, *ListNewsArticlesRequest) (*ListNewsArticlesResponse, error)
- func (UnimplementedNewsroomAPIServer) ListPublishedArticles(context.Context, *ListPublishedArticlesRequest) (*ListPublishedArticlesResponse, error)
- func (UnimplementedNewsroomAPIServer) StoreNewsArticleImage(context.Context, *StoreNewsArticleImageRequest) (*StoreNewsArticleImageResponse, error)
- func (UnimplementedNewsroomAPIServer) UpdateNewsArticle(context.Context, *UpdateNewsArticleRequest) (*UpdateNewsArticleResponse, error)
- func (UnimplementedNewsroomAPIServer) UploadNewsArticleImage(context.Context, *UploadNewsArticleImageRequest) (*UploadNewsArticleImageResponse, error)
- func (UnimplementedNewsroomAPIServer) UserActivity(context.Context, *UserActivityRequest) (*UserActivityResponse, error)
- type UnsafeNewsroomAPIServer
- type UpdateNewsArticleRequest
- func (*UpdateNewsArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNewsArticleRequest) GetArticleDetails() *NewsArticleDetails
- func (x *UpdateNewsArticleRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (*UpdateNewsArticleRequest) ProtoMessage()
- func (x *UpdateNewsArticleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNewsArticleRequest) Reset()
- func (x *UpdateNewsArticleRequest) String() string
- type UpdateNewsArticleResponse
- func (*UpdateNewsArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNewsArticleResponse) GetArticleDetails() *NewsArticleDetails
- func (*UpdateNewsArticleResponse) ProtoMessage()
- func (x *UpdateNewsArticleResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateNewsArticleResponse) Reset()
- func (x *UpdateNewsArticleResponse) String() string
- type UploadNewsArticleImageRequest
- func (*UploadNewsArticleImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadNewsArticleImageRequest) GetImage() *NewsArticleImage
- func (*UploadNewsArticleImageRequest) ProtoMessage()
- func (x *UploadNewsArticleImageRequest) ProtoReflect() protoreflect.Message
- func (x *UploadNewsArticleImageRequest) Reset()
- func (x *UploadNewsArticleImageRequest) String() string
- type UploadNewsArticleImageResponse
- func (*UploadNewsArticleImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadNewsArticleImageResponse) GetImage() *NewsArticleImage
- func (*UploadNewsArticleImageResponse) ProtoMessage()
- func (x *UploadNewsArticleImageResponse) ProtoReflect() protoreflect.Message
- func (x *UploadNewsArticleImageResponse) Reset()
- func (x *UploadNewsArticleImageResponse) String() string
- type UserActivity
- func (*UserActivity) Descriptor() ([]byte, []int)deprecated
- func (x *UserActivity) GetDateCreated() *timestamppb.Timestamp
- func (x *UserActivity) GetUserActivityDetails() *UserActivity_UserActivityDetails
- func (x *UserActivity) GetUserActivityLogSid() int64
- func (*UserActivity) ProtoMessage()
- func (x *UserActivity) ProtoReflect() protoreflect.Message
- func (x *UserActivity) Reset()
- func (x *UserActivity) String() string
- type UserActivityRequest
- func (*UserActivityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserActivityRequest) GetForce() bool
- func (x *UserActivityRequest) GetPublishedArticleSid() int64
- func (*UserActivityRequest) ProtoMessage()
- func (x *UserActivityRequest) ProtoReflect() protoreflect.Message
- func (x *UserActivityRequest) Reset()
- func (x *UserActivityRequest) String() string
- type UserActivityResponse
- func (*UserActivityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserActivityResponse) GetUserActivity() *UserActivity
- func (*UserActivityResponse) ProtoMessage()
- func (x *UserActivityResponse) ProtoReflect() protoreflect.Message
- func (x *UserActivityResponse) Reset()
- func (x *UserActivityResponse) String() string
- type UserActivity_UserActivityDetails
- func (*UserActivity_UserActivityDetails) Descriptor() ([]byte, []int)deprecated
- func (x *UserActivity_UserActivityDetails) GetPublishedArticleSid() int64
- func (*UserActivity_UserActivityDetails) ProtoMessage()
- func (x *UserActivity_UserActivityDetails) ProtoReflect() protoreflect.Message
- func (x *UserActivity_UserActivityDetails) Reset()
- func (x *UserActivity_UserActivityDetails) String() string
Constants ¶
const ( NewsroomAPI_CreateNewsArticle_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/CreateNewsArticle" NewsroomAPI_ListNewsArticles_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/ListNewsArticles" NewsroomAPI_GetNewsArticleById_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/GetNewsArticleById" NewsroomAPI_UpdateNewsArticle_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/UpdateNewsArticle" NewsroomAPI_CreatePublishedArticle_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/CreatePublishedArticle" NewsroomAPI_ListPublishedArticles_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/ListPublishedArticles" NewsroomAPI_GetPublishedArticleById_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/GetPublishedArticleById" NewsroomAPI_UserActivity_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/UserActivity" NewsroomAPI_GetNewsForUser_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/GetNewsForUser" NewsroomAPI_StoreNewsArticleImage_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/StoreNewsArticleImage" NewsroomAPI_ListImagesForNewsArticle_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/ListImagesForNewsArticle" NewsroomAPI_UploadNewsArticleImage_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/UploadNewsArticleImage" )
Variables ¶
var File_api_v1alpha1_newsroom_entities_proto protoreflect.FileDescriptor
var File_api_v1alpha1_newsroom_service_proto protoreflect.FileDescriptor
var NewsroomAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.v1alpha1.newsroom.NewsroomAPI", HandlerType: (*NewsroomAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateNewsArticle", Handler: _NewsroomAPI_CreateNewsArticle_Handler, }, { MethodName: "ListNewsArticles", Handler: _NewsroomAPI_ListNewsArticles_Handler, }, { MethodName: "GetNewsArticleById", Handler: _NewsroomAPI_GetNewsArticleById_Handler, }, { MethodName: "UpdateNewsArticle", Handler: _NewsroomAPI_UpdateNewsArticle_Handler, }, { MethodName: "CreatePublishedArticle", Handler: _NewsroomAPI_CreatePublishedArticle_Handler, }, { MethodName: "ListPublishedArticles", Handler: _NewsroomAPI_ListPublishedArticles_Handler, }, { MethodName: "GetPublishedArticleById", Handler: _NewsroomAPI_GetPublishedArticleById_Handler, }, { MethodName: "UserActivity", Handler: _NewsroomAPI_UserActivity_Handler, }, { MethodName: "GetNewsForUser", Handler: _NewsroomAPI_GetNewsForUser_Handler, }, { MethodName: "StoreNewsArticleImage", Handler: _NewsroomAPI_StoreNewsArticleImage_Handler, }, { MethodName: "ListImagesForNewsArticle", Handler: _NewsroomAPI_ListImagesForNewsArticle_Handler, }, { MethodName: "UploadNewsArticleImage", Handler: _NewsroomAPI_UploadNewsArticleImage_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1alpha1/newsroom/service.proto", }
NewsroomAPI_ServiceDesc is the grpc.ServiceDesc for NewsroomAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNewsroomAPIServer ¶
func RegisterNewsroomAPIServer(s grpc.ServiceRegistrar, srv NewsroomAPIServer)
Types ¶
type CreateNewsArticleRequest ¶
type CreateNewsArticleRequest struct { // news article title Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // markdown content Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // article author Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"` // image reference id ImageReferenceId string `protobuf:"bytes,4,opt,name=image_reference_id,json=imageReferenceId,proto3" json:"image_reference_id,omitempty"` // contains filtered or unexported fields }
Request to create news article
func (*CreateNewsArticleRequest) Descriptor
deprecated
func (*CreateNewsArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNewsArticleRequest.ProtoReflect.Descriptor instead.
func (*CreateNewsArticleRequest) GetAuthor ¶ added in v1.7.39
func (x *CreateNewsArticleRequest) GetAuthor() string
func (*CreateNewsArticleRequest) GetContent ¶
func (x *CreateNewsArticleRequest) GetContent() string
func (*CreateNewsArticleRequest) GetImageReferenceId ¶ added in v1.7.39
func (x *CreateNewsArticleRequest) GetImageReferenceId() string
func (*CreateNewsArticleRequest) GetTitle ¶
func (x *CreateNewsArticleRequest) GetTitle() string
func (*CreateNewsArticleRequest) ProtoMessage ¶
func (*CreateNewsArticleRequest) ProtoMessage()
func (*CreateNewsArticleRequest) ProtoReflect ¶
func (x *CreateNewsArticleRequest) ProtoReflect() protoreflect.Message
func (*CreateNewsArticleRequest) Reset ¶
func (x *CreateNewsArticleRequest) Reset()
func (*CreateNewsArticleRequest) String ¶
func (x *CreateNewsArticleRequest) String() string
type CreateNewsArticleResponse ¶
type CreateNewsArticleResponse struct { // news article details ArticleDetails *NewsArticleDetails `protobuf:"bytes,1,opt,name=article_details,json=articleDetails,proto3" json:"article_details,omitempty"` // contains filtered or unexported fields }
Response to create news article
func (*CreateNewsArticleResponse) Descriptor
deprecated
func (*CreateNewsArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateNewsArticleResponse.ProtoReflect.Descriptor instead.
func (*CreateNewsArticleResponse) GetArticleDetails ¶
func (x *CreateNewsArticleResponse) GetArticleDetails() *NewsArticleDetails
func (*CreateNewsArticleResponse) ProtoMessage ¶
func (*CreateNewsArticleResponse) ProtoMessage()
func (*CreateNewsArticleResponse) ProtoReflect ¶
func (x *CreateNewsArticleResponse) ProtoReflect() protoreflect.Message
func (*CreateNewsArticleResponse) Reset ¶
func (x *CreateNewsArticleResponse) Reset()
func (*CreateNewsArticleResponse) String ¶
func (x *CreateNewsArticleResponse) String() string
type CreatePublishedArticleRequest ¶ added in v1.7.35
type CreatePublishedArticleRequest struct { // news article identifier NewArticleSid int64 `protobuf:"varint,1,opt,name=new_article_sid,json=newArticleSid,proto3" json:"new_article_sid,omitempty"` // determines if we show to user DisplayToUser bool `protobuf:"varint,2,opt,name=display_to_user,json=displayToUser,proto3" json:"display_to_user,omitempty"` // link to the published article ArticleLink string `protobuf:"bytes,3,opt,name=article_link,json=articleLink,proto3" json:"article_link,omitempty"` // contains filtered or unexported fields }
Request to create published article
func (*CreatePublishedArticleRequest) Descriptor
deprecated
added in
v1.7.35
func (*CreatePublishedArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePublishedArticleRequest.ProtoReflect.Descriptor instead.
func (*CreatePublishedArticleRequest) GetArticleLink ¶ added in v1.7.38
func (x *CreatePublishedArticleRequest) GetArticleLink() string
func (*CreatePublishedArticleRequest) GetDisplayToUser ¶ added in v1.7.35
func (x *CreatePublishedArticleRequest) GetDisplayToUser() bool
func (*CreatePublishedArticleRequest) GetNewArticleSid ¶ added in v1.7.35
func (x *CreatePublishedArticleRequest) GetNewArticleSid() int64
func (*CreatePublishedArticleRequest) ProtoMessage ¶ added in v1.7.35
func (*CreatePublishedArticleRequest) ProtoMessage()
func (*CreatePublishedArticleRequest) ProtoReflect ¶ added in v1.7.35
func (x *CreatePublishedArticleRequest) ProtoReflect() protoreflect.Message
func (*CreatePublishedArticleRequest) Reset ¶ added in v1.7.35
func (x *CreatePublishedArticleRequest) Reset()
func (*CreatePublishedArticleRequest) String ¶ added in v1.7.35
func (x *CreatePublishedArticleRequest) String() string
type CreatePublishedArticleResponse ¶ added in v1.7.35
type CreatePublishedArticleResponse struct { // news article details PublishedArticleDetails *PublishedArticleDetails `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Response to create published article
func (*CreatePublishedArticleResponse) Descriptor
deprecated
added in
v1.7.35
func (*CreatePublishedArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePublishedArticleResponse.ProtoReflect.Descriptor instead.
func (*CreatePublishedArticleResponse) GetPublishedArticleDetails ¶ added in v1.7.35
func (x *CreatePublishedArticleResponse) GetPublishedArticleDetails() *PublishedArticleDetails
func (*CreatePublishedArticleResponse) ProtoMessage ¶ added in v1.7.35
func (*CreatePublishedArticleResponse) ProtoMessage()
func (*CreatePublishedArticleResponse) ProtoReflect ¶ added in v1.7.35
func (x *CreatePublishedArticleResponse) ProtoReflect() protoreflect.Message
func (*CreatePublishedArticleResponse) Reset ¶ added in v1.7.35
func (x *CreatePublishedArticleResponse) Reset()
func (*CreatePublishedArticleResponse) String ¶ added in v1.7.35
func (x *CreatePublishedArticleResponse) String() string
type GetNewsArticleByIdRequest ¶
type GetNewsArticleByIdRequest struct { // the unique news article identifier NewArticleSid int64 `protobuf:"varint,1,opt,name=new_article_sid,json=newArticleSid,proto3" json:"new_article_sid,omitempty"` // contains filtered or unexported fields }
Request to get news article by id
func (*GetNewsArticleByIdRequest) Descriptor
deprecated
func (*GetNewsArticleByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNewsArticleByIdRequest.ProtoReflect.Descriptor instead.
func (*GetNewsArticleByIdRequest) GetNewArticleSid ¶
func (x *GetNewsArticleByIdRequest) GetNewArticleSid() int64
func (*GetNewsArticleByIdRequest) ProtoMessage ¶
func (*GetNewsArticleByIdRequest) ProtoMessage()
func (*GetNewsArticleByIdRequest) ProtoReflect ¶
func (x *GetNewsArticleByIdRequest) ProtoReflect() protoreflect.Message
func (*GetNewsArticleByIdRequest) Reset ¶
func (x *GetNewsArticleByIdRequest) Reset()
func (*GetNewsArticleByIdRequest) String ¶
func (x *GetNewsArticleByIdRequest) String() string
type GetNewsArticleByIdResponse ¶
type GetNewsArticleByIdResponse struct { // news article details ArticleDetails *NewsArticleDetails `protobuf:"bytes,1,opt,name=article_details,json=articleDetails,proto3" json:"article_details,omitempty"` // contains filtered or unexported fields }
Response to get news article
func (*GetNewsArticleByIdResponse) Descriptor
deprecated
func (*GetNewsArticleByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNewsArticleByIdResponse.ProtoReflect.Descriptor instead.
func (*GetNewsArticleByIdResponse) GetArticleDetails ¶
func (x *GetNewsArticleByIdResponse) GetArticleDetails() *NewsArticleDetails
func (*GetNewsArticleByIdResponse) ProtoMessage ¶
func (*GetNewsArticleByIdResponse) ProtoMessage()
func (*GetNewsArticleByIdResponse) ProtoReflect ¶
func (x *GetNewsArticleByIdResponse) ProtoReflect() protoreflect.Message
func (*GetNewsArticleByIdResponse) Reset ¶
func (x *GetNewsArticleByIdResponse) Reset()
func (*GetNewsArticleByIdResponse) String ¶
func (x *GetNewsArticleByIdResponse) String() string
type GetNewsForUserRequest ¶ added in v1.7.36
type GetNewsForUserRequest struct {
// contains filtered or unexported fields
}
Request to get unseen news articles for the user
func (*GetNewsForUserRequest) Descriptor
deprecated
added in
v1.7.36
func (*GetNewsForUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNewsForUserRequest.ProtoReflect.Descriptor instead.
func (*GetNewsForUserRequest) ProtoMessage ¶ added in v1.7.36
func (*GetNewsForUserRequest) ProtoMessage()
func (*GetNewsForUserRequest) ProtoReflect ¶ added in v1.7.36
func (x *GetNewsForUserRequest) ProtoReflect() protoreflect.Message
func (*GetNewsForUserRequest) Reset ¶ added in v1.7.36
func (x *GetNewsForUserRequest) Reset()
func (*GetNewsForUserRequest) String ¶ added in v1.7.36
func (x *GetNewsForUserRequest) String() string
type GetNewsForUserResponse ¶ added in v1.7.36
type GetNewsForUserResponse struct { // published article details PublishedArticleDetails []*PublishedArticleDetails `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Response to unseen news articles for the user
func (*GetNewsForUserResponse) Descriptor
deprecated
added in
v1.7.36
func (*GetNewsForUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNewsForUserResponse.ProtoReflect.Descriptor instead.
func (*GetNewsForUserResponse) GetPublishedArticleDetails ¶ added in v1.7.36
func (x *GetNewsForUserResponse) GetPublishedArticleDetails() []*PublishedArticleDetails
func (*GetNewsForUserResponse) ProtoMessage ¶ added in v1.7.36
func (*GetNewsForUserResponse) ProtoMessage()
func (*GetNewsForUserResponse) ProtoReflect ¶ added in v1.7.36
func (x *GetNewsForUserResponse) ProtoReflect() protoreflect.Message
func (*GetNewsForUserResponse) Reset ¶ added in v1.7.36
func (x *GetNewsForUserResponse) Reset()
func (*GetNewsForUserResponse) String ¶ added in v1.7.36
func (x *GetNewsForUserResponse) String() string
type GetPublishedArticleByIdRequest ¶ added in v1.7.35
type GetPublishedArticleByIdRequest struct { // deprecated // // Deprecated: Marked as deprecated in api/v1alpha1/newsroom/entities.proto. NewArticleSid int64 `protobuf:"varint,1,opt,name=new_article_sid,json=newArticleSid,proto3" json:"new_article_sid,omitempty"` // the unique published article sid PublishedArticleSid int64 `protobuf:"varint,2,opt,name=published_article_sid,json=publishedArticleSid,proto3" json:"published_article_sid,omitempty"` // contains filtered or unexported fields }
Request to get published article by id
func (*GetPublishedArticleByIdRequest) Descriptor
deprecated
added in
v1.7.35
func (*GetPublishedArticleByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPublishedArticleByIdRequest.ProtoReflect.Descriptor instead.
func (*GetPublishedArticleByIdRequest) GetNewArticleSid
deprecated
added in
v1.7.35
func (x *GetPublishedArticleByIdRequest) GetNewArticleSid() int64
Deprecated: Marked as deprecated in api/v1alpha1/newsroom/entities.proto.
func (*GetPublishedArticleByIdRequest) GetPublishedArticleSid ¶ added in v1.7.36
func (x *GetPublishedArticleByIdRequest) GetPublishedArticleSid() int64
func (*GetPublishedArticleByIdRequest) ProtoMessage ¶ added in v1.7.35
func (*GetPublishedArticleByIdRequest) ProtoMessage()
func (*GetPublishedArticleByIdRequest) ProtoReflect ¶ added in v1.7.35
func (x *GetPublishedArticleByIdRequest) ProtoReflect() protoreflect.Message
func (*GetPublishedArticleByIdRequest) Reset ¶ added in v1.7.35
func (x *GetPublishedArticleByIdRequest) Reset()
func (*GetPublishedArticleByIdRequest) String ¶ added in v1.7.35
func (x *GetPublishedArticleByIdRequest) String() string
type GetPublishedArticleByIdResponse ¶ added in v1.7.35
type GetPublishedArticleByIdResponse struct { // published article details PublishedArticleDetails *PublishedArticleDetails `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Response to get published article
func (*GetPublishedArticleByIdResponse) Descriptor
deprecated
added in
v1.7.35
func (*GetPublishedArticleByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPublishedArticleByIdResponse.ProtoReflect.Descriptor instead.
func (*GetPublishedArticleByIdResponse) GetPublishedArticleDetails ¶ added in v1.7.35
func (x *GetPublishedArticleByIdResponse) GetPublishedArticleDetails() *PublishedArticleDetails
func (*GetPublishedArticleByIdResponse) ProtoMessage ¶ added in v1.7.35
func (*GetPublishedArticleByIdResponse) ProtoMessage()
func (*GetPublishedArticleByIdResponse) ProtoReflect ¶ added in v1.7.35
func (x *GetPublishedArticleByIdResponse) ProtoReflect() protoreflect.Message
func (*GetPublishedArticleByIdResponse) Reset ¶ added in v1.7.35
func (x *GetPublishedArticleByIdResponse) Reset()
func (*GetPublishedArticleByIdResponse) String ¶ added in v1.7.35
func (x *GetPublishedArticleByIdResponse) String() string
type ListImagesForNewsArticleRequest ¶ added in v1.7.38
type ListImagesForNewsArticleRequest struct { // images for the new article sid NewArticleSid int64 `protobuf:"varint,1,opt,name=new_article_sid,json=newArticleSid,proto3" json:"new_article_sid,omitempty"` // contains filtered or unexported fields }
request to list all images news article
func (*ListImagesForNewsArticleRequest) Descriptor
deprecated
added in
v1.7.38
func (*ListImagesForNewsArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesForNewsArticleRequest.ProtoReflect.Descriptor instead.
func (*ListImagesForNewsArticleRequest) GetNewArticleSid ¶ added in v1.7.38
func (x *ListImagesForNewsArticleRequest) GetNewArticleSid() int64
func (*ListImagesForNewsArticleRequest) ProtoMessage ¶ added in v1.7.38
func (*ListImagesForNewsArticleRequest) ProtoMessage()
func (*ListImagesForNewsArticleRequest) ProtoReflect ¶ added in v1.7.38
func (x *ListImagesForNewsArticleRequest) ProtoReflect() protoreflect.Message
func (*ListImagesForNewsArticleRequest) Reset ¶ added in v1.7.38
func (x *ListImagesForNewsArticleRequest) Reset()
func (*ListImagesForNewsArticleRequest) String ¶ added in v1.7.38
func (x *ListImagesForNewsArticleRequest) String() string
type ListImagesForNewsArticleResponse ¶ added in v1.7.38
type ListImagesForNewsArticleResponse struct { // images for the news article NewsArticleImages []*NewsArticleImage `protobuf:"bytes,1,rep,name=news_article_images,json=newsArticleImages,proto3" json:"news_article_images,omitempty"` // contains filtered or unexported fields }
response to list all images for the news article
func (*ListImagesForNewsArticleResponse) Descriptor
deprecated
added in
v1.7.38
func (*ListImagesForNewsArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesForNewsArticleResponse.ProtoReflect.Descriptor instead.
func (*ListImagesForNewsArticleResponse) GetNewsArticleImages ¶ added in v1.7.38
func (x *ListImagesForNewsArticleResponse) GetNewsArticleImages() []*NewsArticleImage
func (*ListImagesForNewsArticleResponse) ProtoMessage ¶ added in v1.7.38
func (*ListImagesForNewsArticleResponse) ProtoMessage()
func (*ListImagesForNewsArticleResponse) ProtoReflect ¶ added in v1.7.38
func (x *ListImagesForNewsArticleResponse) ProtoReflect() protoreflect.Message
func (*ListImagesForNewsArticleResponse) Reset ¶ added in v1.7.38
func (x *ListImagesForNewsArticleResponse) Reset()
func (*ListImagesForNewsArticleResponse) String ¶ added in v1.7.38
func (x *ListImagesForNewsArticleResponse) String() string
type ListNewsArticlesRequest ¶
type ListNewsArticlesRequest struct { // the statuses to select by when listing articles (if empty, selects all) Statuses []commons.ArticleStatus `protobuf:"varint,1,rep,packed,name=statuses,proto3,enum=api.commons.ArticleStatus" json:"statuses,omitempty"` // list of article details to be Requested FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
Request to list of news articles
func (*ListNewsArticlesRequest) Descriptor
deprecated
func (*ListNewsArticlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNewsArticlesRequest.ProtoReflect.Descriptor instead.
func (*ListNewsArticlesRequest) GetFieldMask ¶
func (x *ListNewsArticlesRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*ListNewsArticlesRequest) GetStatuses ¶
func (x *ListNewsArticlesRequest) GetStatuses() []commons.ArticleStatus
func (*ListNewsArticlesRequest) ProtoMessage ¶
func (*ListNewsArticlesRequest) ProtoMessage()
func (*ListNewsArticlesRequest) ProtoReflect ¶
func (x *ListNewsArticlesRequest) ProtoReflect() protoreflect.Message
func (*ListNewsArticlesRequest) Reset ¶
func (x *ListNewsArticlesRequest) Reset()
func (*ListNewsArticlesRequest) String ¶
func (x *ListNewsArticlesRequest) String() string
type ListNewsArticlesResponse ¶
type ListNewsArticlesResponse struct { // article details ArticleDetails []*NewsArticleDetails `protobuf:"bytes,1,rep,name=article_details,json=articleDetails,proto3" json:"article_details,omitempty"` // contains filtered or unexported fields }
Responseponse to list of news articles
func (*ListNewsArticlesResponse) Descriptor
deprecated
func (*ListNewsArticlesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNewsArticlesResponse.ProtoReflect.Descriptor instead.
func (*ListNewsArticlesResponse) GetArticleDetails ¶
func (x *ListNewsArticlesResponse) GetArticleDetails() []*NewsArticleDetails
func (*ListNewsArticlesResponse) ProtoMessage ¶
func (*ListNewsArticlesResponse) ProtoMessage()
func (*ListNewsArticlesResponse) ProtoReflect ¶
func (x *ListNewsArticlesResponse) ProtoReflect() protoreflect.Message
func (*ListNewsArticlesResponse) Reset ¶
func (x *ListNewsArticlesResponse) Reset()
func (*ListNewsArticlesResponse) String ¶
func (x *ListNewsArticlesResponse) String() string
type ListPublishedArticlesRequest ¶ added in v1.7.35
type ListPublishedArticlesRequest struct {
// contains filtered or unexported fields
}
Request to list of published articles
func (*ListPublishedArticlesRequest) Descriptor
deprecated
added in
v1.7.35
func (*ListPublishedArticlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPublishedArticlesRequest.ProtoReflect.Descriptor instead.
func (*ListPublishedArticlesRequest) ProtoMessage ¶ added in v1.7.35
func (*ListPublishedArticlesRequest) ProtoMessage()
func (*ListPublishedArticlesRequest) ProtoReflect ¶ added in v1.7.35
func (x *ListPublishedArticlesRequest) ProtoReflect() protoreflect.Message
func (*ListPublishedArticlesRequest) Reset ¶ added in v1.7.35
func (x *ListPublishedArticlesRequest) Reset()
func (*ListPublishedArticlesRequest) String ¶ added in v1.7.35
func (x *ListPublishedArticlesRequest) String() string
type ListPublishedArticlesResponse ¶ added in v1.7.35
type ListPublishedArticlesResponse struct { // published article details PublishedArticleDetails []*PublishedArticleDetails `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Response to list of published articles
func (*ListPublishedArticlesResponse) Descriptor
deprecated
added in
v1.7.35
func (*ListPublishedArticlesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPublishedArticlesResponse.ProtoReflect.Descriptor instead.
func (*ListPublishedArticlesResponse) GetPublishedArticleDetails ¶ added in v1.7.35
func (x *ListPublishedArticlesResponse) GetPublishedArticleDetails() []*PublishedArticleDetails
func (*ListPublishedArticlesResponse) ProtoMessage ¶ added in v1.7.35
func (*ListPublishedArticlesResponse) ProtoMessage()
func (*ListPublishedArticlesResponse) ProtoReflect ¶ added in v1.7.35
func (x *ListPublishedArticlesResponse) ProtoReflect() protoreflect.Message
func (*ListPublishedArticlesResponse) Reset ¶ added in v1.7.35
func (x *ListPublishedArticlesResponse) Reset()
func (*ListPublishedArticlesResponse) String ¶ added in v1.7.35
func (x *ListPublishedArticlesResponse) String() string
type NewsArticleDetails ¶
type NewsArticleDetails struct { // the unique news article identifier NewArticleSid int64 `protobuf:"varint,1,opt,name=new_article_sid,json=newArticleSid,proto3" json:"new_article_sid,omitempty"` // news article title Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // markdown content Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // article status Status commons.ArticleStatus `protobuf:"varint,4,opt,name=status,proto3,enum=api.commons.ArticleStatus" json:"status,omitempty"` // news article creation date DateCreated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"` // news article last updated date LastEdited *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_edited,json=lastEdited,proto3" json:"last_edited,omitempty"` // article author Author string `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"` // image reference id ImageReferenceId string `protobuf:"bytes,8,opt,name=image_reference_id,json=imageReferenceId,proto3" json:"image_reference_id,omitempty"` // contains filtered or unexported fields }
news article details
func (*NewsArticleDetails) Descriptor
deprecated
func (*NewsArticleDetails) Descriptor() ([]byte, []int)
Deprecated: Use NewsArticleDetails.ProtoReflect.Descriptor instead.
func (*NewsArticleDetails) GetAuthor ¶ added in v1.7.39
func (x *NewsArticleDetails) GetAuthor() string
func (*NewsArticleDetails) GetContent ¶
func (x *NewsArticleDetails) GetContent() string
func (*NewsArticleDetails) GetDateCreated ¶
func (x *NewsArticleDetails) GetDateCreated() *timestamppb.Timestamp
func (*NewsArticleDetails) GetImageReferenceId ¶ added in v1.7.39
func (x *NewsArticleDetails) GetImageReferenceId() string
func (*NewsArticleDetails) GetLastEdited ¶
func (x *NewsArticleDetails) GetLastEdited() *timestamppb.Timestamp
func (*NewsArticleDetails) GetNewArticleSid ¶
func (x *NewsArticleDetails) GetNewArticleSid() int64
func (*NewsArticleDetails) GetStatus ¶
func (x *NewsArticleDetails) GetStatus() commons.ArticleStatus
func (*NewsArticleDetails) GetTitle ¶
func (x *NewsArticleDetails) GetTitle() string
func (*NewsArticleDetails) ProtoMessage ¶
func (*NewsArticleDetails) ProtoMessage()
func (*NewsArticleDetails) ProtoReflect ¶
func (x *NewsArticleDetails) ProtoReflect() protoreflect.Message
func (*NewsArticleDetails) Reset ¶
func (x *NewsArticleDetails) Reset()
func (*NewsArticleDetails) String ¶
func (x *NewsArticleDetails) String() string
type NewsArticleImage ¶ added in v1.7.38
type NewsArticleImage struct { // unique name of the image Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // image for the new article NewArticleSid int64 `protobuf:"varint,2,opt,name=new_article_sid,json=newArticleSid,proto3" json:"new_article_sid,omitempty"` // image content Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // download image url DownloadUrl string `protobuf:"bytes,4,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"` // image reference id ImageReferenceId string `protobuf:"bytes,5,opt,name=image_reference_id,json=imageReferenceId,proto3" json:"image_reference_id,omitempty"` // image type ImageType string `protobuf:"bytes,6,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"` // temp id for the image TempId *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=temp_id,json=tempId,proto3" json:"temp_id,omitempty"` // contains filtered or unexported fields }
image for the news article details
func (*NewsArticleImage) Descriptor
deprecated
added in
v1.7.38
func (*NewsArticleImage) Descriptor() ([]byte, []int)
Deprecated: Use NewsArticleImage.ProtoReflect.Descriptor instead.
func (*NewsArticleImage) GetContent ¶ added in v1.7.38
func (x *NewsArticleImage) GetContent() string
func (*NewsArticleImage) GetDownloadUrl ¶ added in v1.7.38
func (x *NewsArticleImage) GetDownloadUrl() string
func (*NewsArticleImage) GetImageReferenceId ¶ added in v1.7.39
func (x *NewsArticleImage) GetImageReferenceId() string
func (*NewsArticleImage) GetImageType ¶ added in v1.7.39
func (x *NewsArticleImage) GetImageType() string
func (*NewsArticleImage) GetNewArticleSid ¶ added in v1.7.38
func (x *NewsArticleImage) GetNewArticleSid() int64
func (*NewsArticleImage) GetTempId ¶ added in v1.8.11
func (x *NewsArticleImage) GetTempId() *wrapperspb.StringValue
func (*NewsArticleImage) GetUuid ¶ added in v1.7.38
func (x *NewsArticleImage) GetUuid() string
func (*NewsArticleImage) ProtoMessage ¶ added in v1.7.38
func (*NewsArticleImage) ProtoMessage()
func (*NewsArticleImage) ProtoReflect ¶ added in v1.7.38
func (x *NewsArticleImage) ProtoReflect() protoreflect.Message
func (*NewsArticleImage) Reset ¶ added in v1.7.38
func (x *NewsArticleImage) Reset()
func (*NewsArticleImage) String ¶ added in v1.7.38
func (x *NewsArticleImage) String() string
type NewsroomAPIClient ¶
type NewsroomAPIClient interface { // create news article CreateNewsArticle(ctx context.Context, in *CreateNewsArticleRequest, opts ...grpc.CallOption) (*CreateNewsArticleResponse, error) // list news articles ListNewsArticles(ctx context.Context, in *ListNewsArticlesRequest, opts ...grpc.CallOption) (*ListNewsArticlesResponse, error) // get news article details by the id GetNewsArticleById(ctx context.Context, in *GetNewsArticleByIdRequest, opts ...grpc.CallOption) (*GetNewsArticleByIdResponse, error) // update news article UpdateNewsArticle(ctx context.Context, in *UpdateNewsArticleRequest, opts ...grpc.CallOption) (*UpdateNewsArticleResponse, error) // create published article CreatePublishedArticle(ctx context.Context, in *CreatePublishedArticleRequest, opts ...grpc.CallOption) (*CreatePublishedArticleResponse, error) // list published articles ListPublishedArticles(ctx context.Context, in *ListPublishedArticlesRequest, opts ...grpc.CallOption) (*ListPublishedArticlesResponse, error) // get published article details by the id GetPublishedArticleById(ctx context.Context, in *GetPublishedArticleByIdRequest, opts ...grpc.CallOption) (*GetPublishedArticleByIdResponse, error) // user activity updates UserActivity(ctx context.Context, in *UserActivityRequest, opts ...grpc.CallOption) (*UserActivityResponse, error) // fetch the unseen articles for the user GetNewsForUser(ctx context.Context, in *GetNewsForUserRequest, opts ...grpc.CallOption) (*GetNewsForUserResponse, error) // upload newsroom image for the news article StoreNewsArticleImage(ctx context.Context, in *StoreNewsArticleImageRequest, opts ...grpc.CallOption) (*StoreNewsArticleImageResponse, error) // list newsroom images ListImagesForNewsArticle(ctx context.Context, in *ListImagesForNewsArticleRequest, opts ...grpc.CallOption) (*ListImagesForNewsArticleResponse, error) // upload newsroom image for the news article UploadNewsArticleImage(ctx context.Context, in *UploadNewsArticleImageRequest, opts ...grpc.CallOption) (*UploadNewsArticleImageResponse, error) }
NewsroomAPIClient is the client API for NewsroomAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Service for interacting with TCN's Newsroom API system. Accessing all of the methods Requestuire an authenticated user with the correct permissions.
func NewNewsroomAPIClient ¶
func NewNewsroomAPIClient(cc grpc.ClientConnInterface) NewsroomAPIClient
type NewsroomAPIServer ¶
type NewsroomAPIServer interface { // create news article CreateNewsArticle(context.Context, *CreateNewsArticleRequest) (*CreateNewsArticleResponse, error) // list news articles ListNewsArticles(context.Context, *ListNewsArticlesRequest) (*ListNewsArticlesResponse, error) // get news article details by the id GetNewsArticleById(context.Context, *GetNewsArticleByIdRequest) (*GetNewsArticleByIdResponse, error) // update news article UpdateNewsArticle(context.Context, *UpdateNewsArticleRequest) (*UpdateNewsArticleResponse, error) // create published article CreatePublishedArticle(context.Context, *CreatePublishedArticleRequest) (*CreatePublishedArticleResponse, error) // list published articles ListPublishedArticles(context.Context, *ListPublishedArticlesRequest) (*ListPublishedArticlesResponse, error) // get published article details by the id GetPublishedArticleById(context.Context, *GetPublishedArticleByIdRequest) (*GetPublishedArticleByIdResponse, error) // user activity updates UserActivity(context.Context, *UserActivityRequest) (*UserActivityResponse, error) // fetch the unseen articles for the user GetNewsForUser(context.Context, *GetNewsForUserRequest) (*GetNewsForUserResponse, error) // upload newsroom image for the news article StoreNewsArticleImage(context.Context, *StoreNewsArticleImageRequest) (*StoreNewsArticleImageResponse, error) // list newsroom images ListImagesForNewsArticle(context.Context, *ListImagesForNewsArticleRequest) (*ListImagesForNewsArticleResponse, error) // upload newsroom image for the news article UploadNewsArticleImage(context.Context, *UploadNewsArticleImageRequest) (*UploadNewsArticleImageResponse, error) // contains filtered or unexported methods }
NewsroomAPIServer is the server API for NewsroomAPI service. All implementations must embed UnimplementedNewsroomAPIServer for forward compatibility.
Service for interacting with TCN's Newsroom API system. Accessing all of the methods Requestuire an authenticated user with the correct permissions.
type PublishedArticleDetails ¶ added in v1.7.35
type PublishedArticleDetails struct { // the unique published article identifier PublishedArticleSid int64 `protobuf:"varint,1,opt,name=published_article_sid,json=publishedArticleSid,proto3" json:"published_article_sid,omitempty"` // news article details NewsArticleDetails *NewsArticleDetails `protobuf:"bytes,2,opt,name=news_article_details,json=newsArticleDetails,proto3" json:"news_article_details,omitempty"` // news article published date DatePublished *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date_published,json=datePublished,proto3" json:"date_published,omitempty"` // this flag determines if we show to user or not DisplayToUser bool `protobuf:"varint,4,opt,name=display_to_user,json=displayToUser,proto3" json:"display_to_user,omitempty"` // contains filtered or unexported fields }
published article details
func (*PublishedArticleDetails) Descriptor
deprecated
added in
v1.7.35
func (*PublishedArticleDetails) Descriptor() ([]byte, []int)
Deprecated: Use PublishedArticleDetails.ProtoReflect.Descriptor instead.
func (*PublishedArticleDetails) GetDatePublished ¶ added in v1.7.35
func (x *PublishedArticleDetails) GetDatePublished() *timestamppb.Timestamp
func (*PublishedArticleDetails) GetDisplayToUser ¶ added in v1.7.35
func (x *PublishedArticleDetails) GetDisplayToUser() bool
func (*PublishedArticleDetails) GetNewsArticleDetails ¶ added in v1.7.35
func (x *PublishedArticleDetails) GetNewsArticleDetails() *NewsArticleDetails
func (*PublishedArticleDetails) GetPublishedArticleSid ¶ added in v1.7.35
func (x *PublishedArticleDetails) GetPublishedArticleSid() int64
func (*PublishedArticleDetails) ProtoMessage ¶ added in v1.7.35
func (*PublishedArticleDetails) ProtoMessage()
func (*PublishedArticleDetails) ProtoReflect ¶ added in v1.7.35
func (x *PublishedArticleDetails) ProtoReflect() protoreflect.Message
func (*PublishedArticleDetails) Reset ¶ added in v1.7.35
func (x *PublishedArticleDetails) Reset()
func (*PublishedArticleDetails) String ¶ added in v1.7.35
func (x *PublishedArticleDetails) String() string
type StoreNewsArticleImageRequest ¶ added in v1.7.38
type StoreNewsArticleImageRequest struct { // NewsArticleImage Image *NewsArticleImage `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
request to upload image for the news article
func (*StoreNewsArticleImageRequest) Descriptor
deprecated
added in
v1.7.38
func (*StoreNewsArticleImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreNewsArticleImageRequest.ProtoReflect.Descriptor instead.
func (*StoreNewsArticleImageRequest) GetImage ¶ added in v1.7.38
func (x *StoreNewsArticleImageRequest) GetImage() *NewsArticleImage
func (*StoreNewsArticleImageRequest) ProtoMessage ¶ added in v1.7.38
func (*StoreNewsArticleImageRequest) ProtoMessage()
func (*StoreNewsArticleImageRequest) ProtoReflect ¶ added in v1.7.38
func (x *StoreNewsArticleImageRequest) ProtoReflect() protoreflect.Message
func (*StoreNewsArticleImageRequest) Reset ¶ added in v1.7.38
func (x *StoreNewsArticleImageRequest) Reset()
func (*StoreNewsArticleImageRequest) String ¶ added in v1.7.38
func (x *StoreNewsArticleImageRequest) String() string
type StoreNewsArticleImageResponse ¶ added in v1.7.38
type StoreNewsArticleImageResponse struct { // stored image details Image *NewsArticleImage `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
response to uploaded image
func (*StoreNewsArticleImageResponse) Descriptor
deprecated
added in
v1.7.38
func (*StoreNewsArticleImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreNewsArticleImageResponse.ProtoReflect.Descriptor instead.
func (*StoreNewsArticleImageResponse) GetImage ¶ added in v1.7.38
func (x *StoreNewsArticleImageResponse) GetImage() *NewsArticleImage
func (*StoreNewsArticleImageResponse) ProtoMessage ¶ added in v1.7.38
func (*StoreNewsArticleImageResponse) ProtoMessage()
func (*StoreNewsArticleImageResponse) ProtoReflect ¶ added in v1.7.38
func (x *StoreNewsArticleImageResponse) ProtoReflect() protoreflect.Message
func (*StoreNewsArticleImageResponse) Reset ¶ added in v1.7.38
func (x *StoreNewsArticleImageResponse) Reset()
func (*StoreNewsArticleImageResponse) String ¶ added in v1.7.38
func (x *StoreNewsArticleImageResponse) String() string
type UnimplementedNewsroomAPIServer ¶
type UnimplementedNewsroomAPIServer struct{}
UnimplementedNewsroomAPIServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedNewsroomAPIServer) CreateNewsArticle ¶
func (UnimplementedNewsroomAPIServer) CreateNewsArticle(context.Context, *CreateNewsArticleRequest) (*CreateNewsArticleResponse, error)
func (UnimplementedNewsroomAPIServer) CreatePublishedArticle ¶ added in v1.7.35
func (UnimplementedNewsroomAPIServer) CreatePublishedArticle(context.Context, *CreatePublishedArticleRequest) (*CreatePublishedArticleResponse, error)
func (UnimplementedNewsroomAPIServer) GetNewsArticleById ¶
func (UnimplementedNewsroomAPIServer) GetNewsArticleById(context.Context, *GetNewsArticleByIdRequest) (*GetNewsArticleByIdResponse, error)
func (UnimplementedNewsroomAPIServer) GetNewsForUser ¶ added in v1.7.36
func (UnimplementedNewsroomAPIServer) GetNewsForUser(context.Context, *GetNewsForUserRequest) (*GetNewsForUserResponse, error)
func (UnimplementedNewsroomAPIServer) GetPublishedArticleById ¶ added in v1.7.35
func (UnimplementedNewsroomAPIServer) GetPublishedArticleById(context.Context, *GetPublishedArticleByIdRequest) (*GetPublishedArticleByIdResponse, error)
func (UnimplementedNewsroomAPIServer) ListImagesForNewsArticle ¶ added in v1.7.38
func (UnimplementedNewsroomAPIServer) ListImagesForNewsArticle(context.Context, *ListImagesForNewsArticleRequest) (*ListImagesForNewsArticleResponse, error)
func (UnimplementedNewsroomAPIServer) ListNewsArticles ¶
func (UnimplementedNewsroomAPIServer) ListNewsArticles(context.Context, *ListNewsArticlesRequest) (*ListNewsArticlesResponse, error)
func (UnimplementedNewsroomAPIServer) ListPublishedArticles ¶ added in v1.7.35
func (UnimplementedNewsroomAPIServer) ListPublishedArticles(context.Context, *ListPublishedArticlesRequest) (*ListPublishedArticlesResponse, error)
func (UnimplementedNewsroomAPIServer) StoreNewsArticleImage ¶ added in v1.7.38
func (UnimplementedNewsroomAPIServer) StoreNewsArticleImage(context.Context, *StoreNewsArticleImageRequest) (*StoreNewsArticleImageResponse, error)
func (UnimplementedNewsroomAPIServer) UpdateNewsArticle ¶
func (UnimplementedNewsroomAPIServer) UpdateNewsArticle(context.Context, *UpdateNewsArticleRequest) (*UpdateNewsArticleResponse, error)
func (UnimplementedNewsroomAPIServer) UploadNewsArticleImage ¶ added in v1.8.11
func (UnimplementedNewsroomAPIServer) UploadNewsArticleImage(context.Context, *UploadNewsArticleImageRequest) (*UploadNewsArticleImageResponse, error)
func (UnimplementedNewsroomAPIServer) UserActivity ¶ added in v1.7.36
func (UnimplementedNewsroomAPIServer) UserActivity(context.Context, *UserActivityRequest) (*UserActivityResponse, error)
type UnsafeNewsroomAPIServer ¶
type UnsafeNewsroomAPIServer interface {
// contains filtered or unexported methods
}
UnsafeNewsroomAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NewsroomAPIServer will result in compilation errors.
type UpdateNewsArticleRequest ¶
type UpdateNewsArticleRequest struct { // the news article fields specified to be updated ArticleDetails *NewsArticleDetails `protobuf:"bytes,1,opt,name=article_details,json=articleDetails,proto3" json:"article_details,omitempty"` // list of fields Requested to be updated FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
Request to update news article
func (*UpdateNewsArticleRequest) Descriptor
deprecated
func (*UpdateNewsArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNewsArticleRequest.ProtoReflect.Descriptor instead.
func (*UpdateNewsArticleRequest) GetArticleDetails ¶
func (x *UpdateNewsArticleRequest) GetArticleDetails() *NewsArticleDetails
func (*UpdateNewsArticleRequest) GetFieldMask ¶
func (x *UpdateNewsArticleRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*UpdateNewsArticleRequest) ProtoMessage ¶
func (*UpdateNewsArticleRequest) ProtoMessage()
func (*UpdateNewsArticleRequest) ProtoReflect ¶
func (x *UpdateNewsArticleRequest) ProtoReflect() protoreflect.Message
func (*UpdateNewsArticleRequest) Reset ¶
func (x *UpdateNewsArticleRequest) Reset()
func (*UpdateNewsArticleRequest) String ¶
func (x *UpdateNewsArticleRequest) String() string
type UpdateNewsArticleResponse ¶
type UpdateNewsArticleResponse struct { // updated news article ArticleDetails *NewsArticleDetails `protobuf:"bytes,1,opt,name=article_details,json=articleDetails,proto3" json:"article_details,omitempty"` // contains filtered or unexported fields }
Response to update news article
func (*UpdateNewsArticleResponse) Descriptor
deprecated
func (*UpdateNewsArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNewsArticleResponse.ProtoReflect.Descriptor instead.
func (*UpdateNewsArticleResponse) GetArticleDetails ¶
func (x *UpdateNewsArticleResponse) GetArticleDetails() *NewsArticleDetails
func (*UpdateNewsArticleResponse) ProtoMessage ¶
func (*UpdateNewsArticleResponse) ProtoMessage()
func (*UpdateNewsArticleResponse) ProtoReflect ¶
func (x *UpdateNewsArticleResponse) ProtoReflect() protoreflect.Message
func (*UpdateNewsArticleResponse) Reset ¶
func (x *UpdateNewsArticleResponse) Reset()
func (*UpdateNewsArticleResponse) String ¶
func (x *UpdateNewsArticleResponse) String() string
type UploadNewsArticleImageRequest ¶ added in v1.8.11
type UploadNewsArticleImageRequest struct { // image details Image *NewsArticleImage `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
request to upload image for the news article
func (*UploadNewsArticleImageRequest) Descriptor
deprecated
added in
v1.8.11
func (*UploadNewsArticleImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadNewsArticleImageRequest.ProtoReflect.Descriptor instead.
func (*UploadNewsArticleImageRequest) GetImage ¶ added in v1.8.11
func (x *UploadNewsArticleImageRequest) GetImage() *NewsArticleImage
func (*UploadNewsArticleImageRequest) ProtoMessage ¶ added in v1.8.11
func (*UploadNewsArticleImageRequest) ProtoMessage()
func (*UploadNewsArticleImageRequest) ProtoReflect ¶ added in v1.8.11
func (x *UploadNewsArticleImageRequest) ProtoReflect() protoreflect.Message
func (*UploadNewsArticleImageRequest) Reset ¶ added in v1.8.11
func (x *UploadNewsArticleImageRequest) Reset()
func (*UploadNewsArticleImageRequest) String ¶ added in v1.8.11
func (x *UploadNewsArticleImageRequest) String() string
type UploadNewsArticleImageResponse ¶ added in v1.8.11
type UploadNewsArticleImageResponse struct { // uploaded image details Image *NewsArticleImage `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
response after uploading image for the news article
func (*UploadNewsArticleImageResponse) Descriptor
deprecated
added in
v1.8.11
func (*UploadNewsArticleImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadNewsArticleImageResponse.ProtoReflect.Descriptor instead.
func (*UploadNewsArticleImageResponse) GetImage ¶ added in v1.8.11
func (x *UploadNewsArticleImageResponse) GetImage() *NewsArticleImage
func (*UploadNewsArticleImageResponse) ProtoMessage ¶ added in v1.8.11
func (*UploadNewsArticleImageResponse) ProtoMessage()
func (*UploadNewsArticleImageResponse) ProtoReflect ¶ added in v1.8.11
func (x *UploadNewsArticleImageResponse) ProtoReflect() protoreflect.Message
func (*UploadNewsArticleImageResponse) Reset ¶ added in v1.8.11
func (x *UploadNewsArticleImageResponse) Reset()
func (*UploadNewsArticleImageResponse) String ¶ added in v1.8.11
func (x *UploadNewsArticleImageResponse) String() string
type UserActivity ¶ added in v1.7.36
type UserActivity struct { // the unique user activity log identifier UserActivityLogSid int64 `protobuf:"varint,1,opt,name=user_activity_log_sid,json=userActivityLogSid,proto3" json:"user_activity_log_sid,omitempty"` // user activity created date DateCreated *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"` // user activity details UserActivityDetails *UserActivity_UserActivityDetails `protobuf:"bytes,3,opt,name=user_activity_details,json=userActivityDetails,proto3" json:"user_activity_details,omitempty"` // contains filtered or unexported fields }
user activity details
func (*UserActivity) Descriptor
deprecated
added in
v1.7.36
func (*UserActivity) Descriptor() ([]byte, []int)
Deprecated: Use UserActivity.ProtoReflect.Descriptor instead.
func (*UserActivity) GetDateCreated ¶ added in v1.7.36
func (x *UserActivity) GetDateCreated() *timestamppb.Timestamp
func (*UserActivity) GetUserActivityDetails ¶ added in v1.7.36
func (x *UserActivity) GetUserActivityDetails() *UserActivity_UserActivityDetails
func (*UserActivity) GetUserActivityLogSid ¶ added in v1.7.36
func (x *UserActivity) GetUserActivityLogSid() int64
func (*UserActivity) ProtoMessage ¶ added in v1.7.36
func (*UserActivity) ProtoMessage()
func (*UserActivity) ProtoReflect ¶ added in v1.7.36
func (x *UserActivity) ProtoReflect() protoreflect.Message
func (*UserActivity) Reset ¶ added in v1.7.36
func (x *UserActivity) Reset()
func (*UserActivity) String ¶ added in v1.7.36
func (x *UserActivity) String() string
type UserActivityRequest ¶ added in v1.7.36
type UserActivityRequest struct { // the unique published article identifier PublishedArticleSid int64 `protobuf:"varint,1,opt,name=published_article_sid,json=publishedArticleSid,proto3" json:"published_article_sid,omitempty"` // this flag determines whether to allow news article popups while imitating/impersonating Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
Request to update user activity
func (*UserActivityRequest) Descriptor
deprecated
added in
v1.7.36
func (*UserActivityRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserActivityRequest.ProtoReflect.Descriptor instead.
func (*UserActivityRequest) GetForce ¶ added in v1.8.6
func (x *UserActivityRequest) GetForce() bool
func (*UserActivityRequest) GetPublishedArticleSid ¶ added in v1.7.36
func (x *UserActivityRequest) GetPublishedArticleSid() int64
func (*UserActivityRequest) ProtoMessage ¶ added in v1.7.36
func (*UserActivityRequest) ProtoMessage()
func (*UserActivityRequest) ProtoReflect ¶ added in v1.7.36
func (x *UserActivityRequest) ProtoReflect() protoreflect.Message
func (*UserActivityRequest) Reset ¶ added in v1.7.36
func (x *UserActivityRequest) Reset()
func (*UserActivityRequest) String ¶ added in v1.7.36
func (x *UserActivityRequest) String() string
type UserActivityResponse ¶ added in v1.7.36
type UserActivityResponse struct { // user activity details UserActivity *UserActivity `protobuf:"bytes,1,opt,name=user_activity,json=userActivity,proto3" json:"user_activity,omitempty"` // contains filtered or unexported fields }
Response to user activity updates
func (*UserActivityResponse) Descriptor
deprecated
added in
v1.7.36
func (*UserActivityResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserActivityResponse.ProtoReflect.Descriptor instead.
func (*UserActivityResponse) GetUserActivity ¶ added in v1.7.36
func (x *UserActivityResponse) GetUserActivity() *UserActivity
func (*UserActivityResponse) ProtoMessage ¶ added in v1.7.36
func (*UserActivityResponse) ProtoMessage()
func (*UserActivityResponse) ProtoReflect ¶ added in v1.7.36
func (x *UserActivityResponse) ProtoReflect() protoreflect.Message
func (*UserActivityResponse) Reset ¶ added in v1.7.36
func (x *UserActivityResponse) Reset()
func (*UserActivityResponse) String ¶ added in v1.7.36
func (x *UserActivityResponse) String() string
type UserActivity_UserActivityDetails ¶ added in v1.7.36
type UserActivity_UserActivityDetails struct { // the unique published article identifier PublishedArticleSid int64 `protobuf:"varint,1,opt,name=published_article_sid,json=publishedArticleSid,proto3" json:"published_article_sid,omitempty"` // contains filtered or unexported fields }
user activity details
func (*UserActivity_UserActivityDetails) Descriptor
deprecated
added in
v1.7.36
func (*UserActivity_UserActivityDetails) Descriptor() ([]byte, []int)
Deprecated: Use UserActivity_UserActivityDetails.ProtoReflect.Descriptor instead.
func (*UserActivity_UserActivityDetails) GetPublishedArticleSid ¶ added in v1.7.36
func (x *UserActivity_UserActivityDetails) GetPublishedArticleSid() int64
func (*UserActivity_UserActivityDetails) ProtoMessage ¶ added in v1.7.36
func (*UserActivity_UserActivityDetails) ProtoMessage()
func (*UserActivity_UserActivityDetails) ProtoReflect ¶ added in v1.7.36
func (x *UserActivity_UserActivityDetails) ProtoReflect() protoreflect.Message
func (*UserActivity_UserActivityDetails) Reset ¶ added in v1.7.36
func (x *UserActivity_UserActivityDetails) Reset()
func (*UserActivity_UserActivityDetails) String ¶ added in v1.7.36
func (x *UserActivity_UserActivityDetails) String() string