Aspose.Tasks for C++
ProjectInfo.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="ProjectInfo.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/string.h>
9 #include <system/guid.h>
10 #include <system/date_time.h>
11 
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
13 
14 namespace Aspose
15 {
16 namespace Tasks
17 {
18 namespace IO
19 {
20 namespace Pwa
21 {
22 namespace InternalApi
23 {
24 class ProjectInfoDeserializer;
25 } // namespace InternalApi
26 } // namespace Pwa
27 } // namespace IO
28 } // namespace Tasks
29 } // namespace Aspose
30 
31 namespace Aspose {
32 
33 namespace Tasks {
34 
35 /// <summary>
36 /// Brief info about the published project available on Project Online.
37 /// </summary>
38 class ASPOSE_TASKS_SHARED_CLASS ProjectInfo final : public System::Object
39 {
40  typedef ProjectInfo ThisType;
41  typedef System::Object BaseType;
42 
43  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
44  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
45 
46  friend class Aspose::Tasks::IO::Pwa::InternalApi::ProjectInfoDeserializer;
47 
48 public:
49 
50  /// <summary>
51  /// Gets the unique identifier of the project.
52  /// </summary>
53  ASPOSE_TASKS_SHARED_API System::Guid get_Id() const;
54  /// <summary>
55  /// Gets the name of the project.
56  /// </summary>
57  ASPOSE_TASKS_SHARED_API System::String get_Name() const;
58  /// <summary>
59  /// Gets the date and time when the project was created.
60  /// </summary>
61  ASPOSE_TASKS_SHARED_API System::DateTime get_CreatedDate() const;
62  /// <summary>
63  /// Gets a value indicating whether the project is checked out.
64  /// </summary>
65  ASPOSE_TASKS_SHARED_API bool get_IsCheckedOut() const;
66  /// <summary>
67  /// Gets the most recent date when the project was published.
68  /// </summary>
69  ASPOSE_TASKS_SHARED_API System::DateTime get_LastPublishedDate() const;
70  /// <summary>
71  /// Gets the most recent date when the project was saved.
72  /// </summary>
73  ASPOSE_TASKS_SHARED_API System::DateTime get_LastSavedDate() const;
74  /// <summary>
75  /// Gets the description of the project.
76  /// </summary>
77  ASPOSE_TASKS_SHARED_API System::String get_Description() const;
78 
79  /// <summary>Initializes a new instance of the <see cref="ProjectInfo"></see> class.</summary>
80  ASPOSE_TASKS_SHARED_API ProjectInfo();
81 
82 protected:
83 
84  /// <summary>
85  /// Gets the unique identifier of the project.
86  /// </summary>
87  ASPOSE_TASKS_SHARED_API void set_Id(System::Guid value);
88  /// <summary>
89  /// Gets the name of the project.
90  /// </summary>
91  ASPOSE_TASKS_SHARED_API void set_Name(const System::String& value);
92  /// <summary>
93  /// Gets the date and time when the project was created.
94  /// </summary>
95  ASPOSE_TASKS_SHARED_API void set_CreatedDate(System::DateTime value);
96  /// <summary>
97  /// Gets a value indicating whether the project is checked out.
98  /// </summary>
99  ASPOSE_TASKS_SHARED_API void set_IsCheckedOut(bool value);
100  /// <summary>
101  /// Gets the most recent date when the project was published.
102  /// </summary>
103  ASPOSE_TASKS_SHARED_API void set_LastPublishedDate(System::DateTime value);
104  /// <summary>
105  /// Gets the most recent date when the project was saved.
106  /// </summary>
107  ASPOSE_TASKS_SHARED_API void set_LastSavedDate(System::DateTime value);
108  /// <summary>
109  /// Gets the description of the project.
110  /// </summary>
111  ASPOSE_TASKS_SHARED_API void set_Description(const System::String& value);
112  ASPOSE_TASKS_SHARED_API bool get_IsSharepointTaskList() const;
113  ASPOSE_TASKS_SHARED_API void set_IsSharepointTaskList(bool value);
114 
115  #ifdef ASPOSE_GET_SHARED_MEMBERS
116  ASPOSE_TASKS_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
117  #endif
118 
119 
120 private:
121 
122  System::Guid pr_Id;
123  System::String pr_Name;
124  System::DateTime pr_CreatedDate;
125  bool pr_IsCheckedOut;
126  System::DateTime pr_LastPublishedDate;
127  System::DateTime pr_LastSavedDate;
128  System::String pr_Description;
129  bool pr_IsSharepointTaskList;
130 
131 };
132 
133 } // namespace Tasks
134 } // namespace Aspose
135 
136 
Brief info about the published project available on Project Online.
Definition: ProjectInfo.h:39
System::DateTime get_LastSavedDate() const
Gets the most recent date when the project was saved.
System::DateTime get_CreatedDate() const
Gets the date and time when the project was created.
ProjectInfo()
Initializes a new instance of the ProjectInfo class.
bool get_IsCheckedOut() const
Gets a value indicating whether the project is checked out.
System::String get_Name() const
Gets the name of the project.
System::String get_Description() const
Gets the description of the project.
System::Guid get_Id() const
Gets the unique identifier of the project.
System::DateTime get_LastPublishedDate() const
Gets the most recent date when the project was published.
Definition: Asn.h:13